File tree Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ configurations.compileClasspath {
2828dependencies {
2929 implementation(" org.ow2.asm:asm:9.7.1" )
3030
31- compileOnly(" org.gradlex:extra-java-module-info:1.8 " )
31+ compileOnly(" org.gradlex:extra-java-module-info:1.9 " )
3232 compileOnly(" com.autonomousapps:dependency-analysis-gradle-plugin:2.6.1" )
3333
3434 testImplementation(" org.spockframework:spock-core:2.1-groovy-3.0" )
Original file line number Diff line number Diff line change @@ -16,13 +16,16 @@ detachedResolver.repositories.ivy {
1616 setM2compatible(true )
1717 }
1818}
19- val modulePropertiesConfiguration = detachedResolver.configurations.create(" moduleProperties" )
20- val dep = detachedResolver.dependencies.add(modulePropertiesConfiguration.name, " com.github.sormuras.modules:modules:1" )
19+ val modulePropertiesScope = detachedResolver.configurations.dependencyScope(" moduleProperties" )
20+ val modulePropertiesPath = detachedResolver.configurations.resolvable(" modulePropertiesPath" ) {
21+ extendsFrom(modulePropertiesScope.get())
22+ }
23+ val dep = detachedResolver.dependencies.add(modulePropertiesScope.name, " com.github.sormuras.modules:modules:1" )
2124(dep as ExternalModuleDependency ).isChanging = true
2225
2326val updateUniqueModulesProperties = tasks.register<UniqueModulesPropertiesUpdate >(" updateUniqueModulesProperties" ) {
2427 skipUpdate.set(providers.environmentVariable(" CI" ).getOrElse(" false" ).toBoolean())
25- modulesProperties.from(modulePropertiesConfiguration )
28+ modulesProperties.from(modulePropertiesPath )
2629 uniqueModulesProperties.set(layout.projectDirectory.file(
2730 " src/main/resources/org/gradlex/javamodule/dependencies/unique_modules.properties" )
2831 )
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.10 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 8686# shellcheck disable=SC2034
8787APP_BASE_NAME=${0##*/ }
8888# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90- ' " $PWD " ) || exit
89+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
9190
9291# Use the maximum available, or set MAX_FD != -1 to use that value.
9392MAX_FD=maximum
Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ plugins {
66}
77
88dependencyResolutionManagement {
9- repositories.mavenCentral()
10- repositories.gradlePluginPortal()
9+ repositories {
10+ mavenCentral()
11+ gradlePluginPortal()
12+ }
1113}
1214
1315rootProject.name = " java-module-dependencies"
You can’t perform that action at this time.
0 commit comments