Skip to content

Commit

Permalink
buildscript: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Nov 17, 2023
1 parent 979064d commit 432f4d6
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion HelloMav/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
//implementation 'com.github.stephengold:MaVehicles:' + maVehiclesVersion // for published library
}

// cleanup tasks:
// Register cleanup tasks:

clean.dependsOn('cleanDLLs', 'cleanDyLibs', 'cleanLogs', 'cleanSOs')

Expand Down
2 changes: 1 addition & 1 deletion MavDemo1/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies {
//implementation 'com.github.stephengold:MaVehicles:' + maVehiclesVersion // for published library
}

// cleanup tasks:
// Register cleanup tasks:

clean.dependsOn('cleanDLLs', 'cleanDyLibs', 'cleanLogs', 'cleanSOs')
clean.dependsOn('cleanScreenShots')
Expand Down
2 changes: 1 addition & 1 deletion MavDemo2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tasks.register('runForceDialog', JavaExec) {
mainClass = 'com.jayfella.jme.vehicle.niftydemo.MavDemo2'
}

// cleanup tasks:
// Register cleanup tasks:

clean.dependsOn('cleanDLLs', 'cleanDyLibs', 'cleanLogs', 'cleanSOs')
clean.dependsOn('cleanScreenShots')
Expand Down
4 changes: 2 additions & 2 deletions MavLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies {
compileOnly minieCoordinates
}

// 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
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,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 All @@ -33,7 +33,7 @@ tasks.register('checkstyle') {
description 'Checks the style of all Java sourcecode.'
}

// publishing tasks:
// Register publishing tasks:

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

0 comments on commit 432f4d6

Please sign in to comment.