Skip to content

Commit

Permalink
buildscripts: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed May 22, 2024
1 parent addbe9d commit ad689e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GarrettLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ publishMavenPublicationToOSSRHRepository.dependsOn('assemble')
signing {
sign publishing.publications.maven
}
tasks.withType(Sign).configureEach {
tasks.withType(Sign) {
onlyIf { rootProject.hasProperty('signing.keyId') }
}
signMavenPublication.dependsOn('module')
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ dependencyResolutionManagement {
*/
def subDirs = rootDir.listFiles(
new FileFilter() {
boolean accept(File sub) {
return sub.isDirectory() && new File(sub, 'build.gradle').isFile()
boolean accept(File file) {
return file.isDirectory() && new File(file, 'build.gradle').isFile()
}
}
)
Expand Down

0 comments on commit ad689e8

Please sign in to comment.