diff --git a/build.gradle b/build.gradle index f6a508e8..82f27927 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ subprojects { } configurations.configureEach { - resolutionStrategy.cacheChangingModulesFor 0, 'seconds' // to disable caching of SNAPSHOTs + resolutionStrategy.cacheChangingModulesFor 0, 'seconds' // to disable caching of snapshots } tasks.register('checkstyle') { diff --git a/common.gradle b/common.gradle index a0a98e22..81476e85 100644 --- a/common.gradle +++ b/common.gradle @@ -50,7 +50,7 @@ tasks.withType(JavaExec).configureEach { // Java runtime options: //jvmArgs '-XX:+UseG1GC', '-XX:MaxGCPauseMillis=10' } -// custom tasks for creating source/javadoc JARs: +// Register custom tasks for creating source/javadoc JARs: tasks.register('javadocJar', Jar) { archiveClassifier = 'javadoc' diff --git a/nifty/build.gradle b/nifty/build.gradle index 798ea81d..eb8fcdb8 100644 --- a/nifty/build.gradle +++ b/nifty/build.gradle @@ -29,7 +29,7 @@ javadoc { } } -// publishing tasks: +// Register publishing tasks: tasks.register('install') { dependsOn 'publishMavenPublicationToMavenLocal' @@ -134,7 +134,7 @@ publishMavenPublicationToMavenLocal.doLast { } publishMavenPublicationToOSSRHRepository.dependsOn('assemble') -// signing tasks: +// Register signing tasks: // Signing relies on the existence of 3 properties // (signing.keyId, signing.password, and signing.secretKeyRingFile) diff --git a/settings.gradle b/settings.gradle index a773732b..c96e5db7 100644 --- a/settings.gradle +++ b/settings.gradle @@ -7,7 +7,7 @@ dependencyResolutionManagement { //mavenLocal() // to find libraries installed locally mavenCentral() // to find libraries released to the Maven Central repository //maven { url 'https://s01.oss.sonatype.org/content/groups/staging' } // to find libraries staged but not yet released - //maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' } // to find public SNAPSHOTs of libraries + //maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' } // to find public snapshots of libraries } } diff --git a/tests/build.gradle b/tests/build.gradle index ecaa0ea7..22014708 100644 --- a/tests/build.gradle +++ b/tests/build.gradle @@ -22,15 +22,15 @@ dependencies { runtimeOnly 'org.jmonkeyengine:jme3-plugins:' + jme3Version //implementation "com.github.stephengold:jme3-utilities-nifty:$jme3utilitiesniftyVersion" // for published library - implementation project(':nifty') // for latest library build + implementation project(':nifty') // for local library build //implementation "com.github.stephengold:jme3-utilities-x:$jme3utilitiesxVersion" // for published library - implementation project(':x') // for latest library build + implementation project(':x') // for local library build } startScripts.dependsOn(':nifty:assemble') -// cleanup tasks: +// Register cleanup tasks: clean.dependsOn('cleanDLLs', 'cleanDyLibs', 'cleanLogs', 'cleanSandbox', 'cleanSOs') @@ -50,7 +50,7 @@ tasks.register('cleanSOs', Delete) { // extracted Linux and Android native libra delete fileTree(dir: '.', include: '*.so') } -// tasks to run specific apps: +// Register tasks to run specific apps: tasks.register('TestPolygon3f', JavaExec) { mainClass = 'jme3utilities.math.test.TestPolygon3f' diff --git a/x/build.gradle b/x/build.gradle index 7310b70d..ae362f52 100644 --- a/x/build.gradle +++ b/x/build.gradle @@ -18,7 +18,7 @@ dependencies { api heartCoordinates } -// publishing tasks +// Register publishing tasks: tasks.register('install') { dependsOn 'publishMavenPublicationToMavenLocal' @@ -123,7 +123,7 @@ publishMavenPublicationToMavenLocal.doLast { } publishMavenPublicationToOSSRHRepository.dependsOn('assemble') -// signing tasks: +// Register signing tasks: // Signing relies on the existence of 3 properties // (signing.keyId, signing.password, and signing.secretKeyRingFile)