Skip to content

Commit

Permalink
Migrated to Gradle 8.8
Browse files Browse the repository at this point in the history
- Updated test suite for 8.7 and 8.8
- Fixed bugs in configuration
 - Missing settings.gradle causes composite builds to fail
 - GPG signing fails without a key property set
  • Loading branch information
ToxicBakery committed Jun 25, 2024
1 parent 2d6772f commit 23801bb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ apply plugin: 'signing'
apply from: "gradle/integrationTest.gradle"

group = 'de.undercouch'
version = '5.6.0'
version = '5.6.1'

java {
sourceCompatibility = '1.8'
Expand All @@ -30,7 +30,9 @@ ext {
"5.6.4",
"6.9.4",
"7.6.4",
"8.6"
"8.6",
"8.7",
"8.8"
]
} else {
limitedVersionsToTest = versionsToTest
Expand Down Expand Up @@ -189,6 +191,11 @@ tasks.withType(Sign).configureEach {
return false
}

// don't attempt to sign without a key
if (!project.hasProperty('signing.keyId')) {
return false
}

return true
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/integrationTest.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ext {
'7.5', '7.5.1', '7.6', '7.6.1', '7.6.2', '7.6.3', '7.6.4',

'8.0', '8.0.1', '8.0.2', '8.1', '8.1.1', '8.2', '8.2.1', '8.3', '8.4',
'8.5', '8.6'
'8.5', '8.6', '8.7', '8.8'
]
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Empty file added settings.gradle
Empty file.

0 comments on commit 23801bb

Please sign in to comment.