Skip to content

Commit

Permalink
Rename 'modularClasspathHandling' to 'modularity' (samples)
Browse files Browse the repository at this point in the history
Updates the wrapper to latest 6.4 nightly.
  • Loading branch information
jjohannes committed Apr 7, 2020
1 parent 8300fd4 commit c77b634
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-6.4-20200401220055+0000-bin.zip
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-6.4-20200407154813+0000-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 2 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ esac

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar


# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
Expand Down Expand Up @@ -129,6 +130,7 @@ fi
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`

JAVACMD=`cygpath --unix "$JAVACMD"`

# We build the pattern for arguments to be converted via cygpath
Expand Down
1 change: 1 addition & 0 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ set CMD_LINE_ARGS=%*

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ subprojects {

plugins.withType(JavaPlugin).configureEach {
java {
modularClasspathHandling.inferModulePath = true
modularity.inferModulePath = true
}

sourceSets {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ subprojects {

plugins.withType<JavaPlugin>().configureEach {
configure<JavaPluginExtension> {
modularClasspathHandling.inferModulePath.set(true)
modularity.inferModulePath.set(true)
}

val integrationTest by the<SourceSetContainer>().creating
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ subprojects {
// tag::inferModulePath[]
plugins.withType(JavaPlugin).configureEach {
java {
modularClasspathHandling.inferModulePath = true
modularity.inferModulePath = true
}
}
// end::inferModulePath[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ subprojects {
// tag::inferModulePath[]
plugins.withType<JavaPlugin>().configureEach {
configure<JavaPluginExtension> {
modularClasspathHandling.inferModulePath.set(true)
modularity.inferModulePath.set(true)
}
}
// end::inferModulePath[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ subprojects {

plugins.withType(JavaPlugin).configureEach {
java {
modularClasspathHandling.inferModulePath = true
modularity.inferModulePath = true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ subprojects {

plugins.withType<JavaPlugin>().configureEach {
configure<JavaPluginExtension> {
modularClasspathHandling.inferModulePath.set(true)
modularity.inferModulePath.set(true)
}
}
}

0 comments on commit c77b634

Please sign in to comment.