-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use upcoming 'java-module-dependencies' features
- Loading branch information
Showing
10 changed files
with
62 additions
and
74 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,2 +1,4 @@ | ||
org.gradle.caching=true | ||
org.gradle.configuration-cache=true | ||
dependency.analysis.autoapply=false | ||
# org.gradle.unsafe.isolated-projects=true |
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
25 changes: 25 additions & 0 deletions
25
gradle/plugins/src/main/kotlin/build-system.settings.gradle.kts
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import org.gradle.caching.http.HttpBuildCache | ||
import org.gradle.kotlin.dsl.remote | ||
|
||
plugins { | ||
id("com.gradle.develocity") | ||
id("org.gradlex.java-module-dependencies") | ||
} | ||
|
||
develocity { | ||
buildScan { | ||
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use" | ||
termsOfUseAgree = "yes" | ||
} | ||
} | ||
|
||
buildCache { | ||
remote<HttpBuildCache> { | ||
url = uri("https://cache.onepiece.software/cache") | ||
if (providers.environmentVariable("CI").getOrElse("false").toBoolean()) { | ||
isPush = true; | ||
credentials.username = providers.environmentVariable("BUILD_CACHE_USER").get() | ||
credentials.password = providers.environmentVariable("BUILD_CACHE_PWD").get() | ||
} | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
gradle/plugins/src/main/kotlin/dependency-analysis.gradle.kts
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
plugins { | ||
id("com.autonomousapps.dependency-analysis") | ||
} |
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
64 changes: 0 additions & 64 deletions
64
gradle/plugins/src/main/kotlin/opinionated-java-module-build-system.settings.gradle.kts
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
application.mainClass = "app.App" |
This file was deleted.
Oops, something went wrong.
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