Skip to content

Commit 3602d51

Browse files
committed
Bump min Java requirement to 17
1 parent 85b409d commit 3602d51

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
test_java_version:
21-
- 11 # Minimum supported version.
22-
- 17 # Supported by all tests.
21+
- 17 # Minimum supported version.
2322
- latest # Latest supported version, the value syncs with the .java-version file.
2423
test_config_method: ["DSL", "PROPERTIES", "BASE"]
2524

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
## [UNRELEASED](https://github.com/vanniktech/gradle-maven-publish-plugin/compare/0.34.0...HEAD) *(2025-xx-xx)*
44

5+
- Bump min Java requirement to 17.
6+
57
#### Minimum supported versions
6-
- JDK 11
8+
- JDK 17
79
- Gradle 8.13
810
- Android Gradle Plugin 8.2.2
911
- Kotlin Gradle Plugin 1.9.20

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
jdkRelease = "11"
2+
jdkRelease = "17"
33
minGradle = "8.13"
44

55
gradle = "9.2.0"

plugin/build.gradle.kts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,6 @@ tasks.validatePlugins {
117117
enableStricterValidation = true
118118
}
119119

120-
tasks.whenTaskAdded {
121-
if (name.contains("lint") && this::class.java.name.contains("com.android.build")) {
122-
// TODO: lints can be run on Java 17 or above, remove this once we bump the min Java version to 17.
123-
enabled = JavaVersion.current() >= JavaVersion.VERSION_17
124-
}
125-
}
126-
127120
val integrationTest by tasks.registering(Test::class) {
128121
dependsOn(
129122
tasks.publishToMavenLocal,

0 commit comments

Comments
 (0)