Skip to content

Commit

Permalink
buildscripts: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Nov 19, 2023
1 parent 2120c66 commit 6ad8a32
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
2 changes: 1 addition & 1 deletion common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions nifty/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ javadoc {
}
}

// publishing tasks:
// Register publishing tasks:

tasks.register('install') {
dependsOn 'publishMavenPublicationToMavenLocal'
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down
8 changes: 4 additions & 4 deletions tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand All @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
api heartCoordinates
}

// publishing tasks
// Register publishing tasks:

tasks.register('install') {
dependsOn 'publishMavenPublicationToMavenLocal'
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 6ad8a32

Please sign in to comment.