-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2271b9
commit 1d0f32f
Showing
7 changed files
with
184 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,30 @@ | ||
rootProject.name = 'java-external-stage' | ||
// ignore this: used for testing examples during releases | ||
// Part 1 | ||
// The content here is simply for the CICD testing of this example | ||
// It is not relevant for understanding the example | ||
plugins { | ||
id "com.github.burrunan.s3-build-cache" version "1.5" | ||
} | ||
|
||
// Ensures the example tests the plugin being built | ||
includeBuild('../../') | ||
|
||
// Build cache configuration | ||
ext.isCiServer = System.getenv().containsKey("CI") | ||
buildCache { | ||
local { | ||
// Local build cache is dangerous as it might produce inconsistent results | ||
// in case developer modifies files while the build is running | ||
enabled = false | ||
} | ||
remote(com.github.burrunan.s3cache.AwsS3BuildCache) { | ||
region = 'us-east-1' | ||
bucket = 'nio-gradle-cache' | ||
prefix = "${rootProject.name}/" | ||
push = isCiServer | ||
lookupDefaultAwsCredentials = true | ||
} | ||
} | ||
|
||
// Part 2 | ||
// This is the only relevant section for the example | ||
rootProject.name = 'java-external-stage' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,30 @@ | ||
// Part 1 | ||
// The content here is simply for the CICD testing of this example | ||
// It is not relevant for understanding the example | ||
plugins { | ||
id "com.github.burrunan.s3-build-cache" version "1.5" | ||
} | ||
|
||
// Ensures the example tests the plugin being built | ||
includeBuild('../../') | ||
|
||
// Build cache configuration | ||
ext.isCiServer = System.getenv().containsKey("CI") | ||
buildCache { | ||
local { | ||
// Local build cache is dangerous as it might produce inconsistent results | ||
// in case developer modifies files while the build is running | ||
enabled = false | ||
} | ||
remote(com.github.burrunan.s3cache.AwsS3BuildCache) { | ||
region = 'us-east-1' | ||
bucket = 'nio-gradle-cache' | ||
prefix = "${rootProject.name}/" | ||
push = isCiServer | ||
lookupDefaultAwsCredentials = true | ||
} | ||
} | ||
|
||
// Part 2 | ||
// This is the only relevant section for the example | ||
rootProject.name = 'java-manual' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,30 @@ | ||
rootProject.name = 'java-testing' | ||
// ignore this: used for testing examples during releases | ||
// Part 1 | ||
// The content here is simply for the CICD testing of this example | ||
// It is not relevant for understanding the example | ||
plugins { | ||
id "com.github.burrunan.s3-build-cache" version "1.5" | ||
} | ||
|
||
// Ensures the example tests the plugin being built | ||
includeBuild('../../') | ||
|
||
// Build cache configuration | ||
ext.isCiServer = System.getenv().containsKey("CI") | ||
buildCache { | ||
local { | ||
// Local build cache is dangerous as it might produce inconsistent results | ||
// in case developer modifies files while the build is running | ||
enabled = false | ||
} | ||
remote(com.github.burrunan.s3cache.AwsS3BuildCache) { | ||
region = 'us-east-1' | ||
bucket = 'nio-gradle-cache' | ||
prefix = "${rootProject.name}/" | ||
push = isCiServer | ||
lookupDefaultAwsCredentials = true | ||
} | ||
} | ||
|
||
// Part 2 | ||
// This is the only relevant section for the example | ||
rootProject.name = 'java-testing' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,30 @@ | ||
rootProject.name = 'java' | ||
// ignore this: used for testing examples during releases | ||
// Part 1 | ||
// The content here is simply for the CICD testing of this example | ||
// It is not relevant for understanding the example | ||
plugins { | ||
id "com.github.burrunan.s3-build-cache" version "1.5" | ||
} | ||
|
||
// Ensures the example tests the plugin being built | ||
includeBuild('../../') | ||
|
||
// Build cache configuration | ||
ext.isCiServer = System.getenv().containsKey("CI") | ||
buildCache { | ||
local { | ||
// Local build cache is dangerous as it might produce inconsistent results | ||
// in case developer modifies files while the build is running | ||
enabled = false | ||
} | ||
remote(com.github.burrunan.s3cache.AwsS3BuildCache) { | ||
region = 'us-east-1' | ||
bucket = 'nio-gradle-cache' | ||
prefix = "${rootProject.name}/" | ||
push = isCiServer | ||
lookupDefaultAwsCredentials = true | ||
} | ||
} | ||
|
||
// Part 2 | ||
// This is the only relevant section for the example | ||
rootProject.name = 'java' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,30 @@ | ||
rootProject.name = 'kotlin' | ||
// ignore this: used for testing examples during releases | ||
// Part 1 | ||
// The content here is simply for the CICD testing of this example | ||
// It is not relevant for understanding the example | ||
plugins { | ||
id "com.github.burrunan.s3-build-cache" version "1.5" | ||
} | ||
|
||
// Ensures the example tests the plugin being built | ||
includeBuild('../../') | ||
|
||
// Build cache configuration | ||
ext.isCiServer = System.getenv().containsKey("CI") | ||
buildCache { | ||
local { | ||
// Local build cache is dangerous as it might produce inconsistent results | ||
// in case developer modifies files while the build is running | ||
enabled = false | ||
} | ||
remote(com.github.burrunan.s3cache.AwsS3BuildCache) { | ||
region = 'us-east-1' | ||
bucket = 'nio-gradle-cache' | ||
prefix = "${rootProject.name}/" | ||
push = isCiServer | ||
lookupDefaultAwsCredentials = true | ||
} | ||
} | ||
|
||
// Part 2 | ||
// This is the only relevant section for the example | ||
rootProject.name = 'kotlin' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,30 @@ | ||
rootProject.name = 'scala' | ||
// ignore this: used for testing examples during releases | ||
// Part 1 | ||
// The content here is simply for the CICD testing of this example | ||
// It is not relevant for understanding the example | ||
plugins { | ||
id "com.github.burrunan.s3-build-cache" version "1.5" | ||
} | ||
|
||
// Ensures the example tests the plugin being built | ||
includeBuild('../../') | ||
|
||
// Build cache configuration | ||
ext.isCiServer = System.getenv().containsKey("CI") | ||
buildCache { | ||
local { | ||
// Local build cache is dangerous as it might produce inconsistent results | ||
// in case developer modifies files while the build is running | ||
enabled = false | ||
} | ||
remote(com.github.burrunan.s3cache.AwsS3BuildCache) { | ||
region = 'us-east-1' | ||
bucket = 'nio-gradle-cache' | ||
prefix = "${rootProject.name}/" | ||
push = isCiServer | ||
lookupDefaultAwsCredentials = true | ||
} | ||
} | ||
|
||
// Part 2 | ||
// This is the only relevant section for the example | ||
rootProject.name = 'scala' |