Skip to content

Commit d7ba49a

Browse files
committed
chore(crawler-gradle): MXTS-77488: target jdk 25 and cut 5.0.0
Bumps the convention plugin 3.3.2 -> 5.0.0-RC-3, cuts the module as 5.0.0, repoints microdocs-core-java 3.0.0 -> 5.0.0 (regenerating gradle.lockfile to match), and adds mavenLocal() so that coordinate resolves before 5.0.0 is published to the registry. Drops the sourceCompatibility/targetCompatibility VERSION_17 pin added in fbc6c56, letting the bytecode target follow conventions' toolchain 25. The plugin moves from major 52 (published 4.0.2) to major 69. This is deliberate: microdocs 5.0.0 targets consumers already on JDK 25. The major version bump is what gates adoption -- config-server pins microdocs_version=4.+, which cannot resolve 5.0.0, so JDK 21 consumers stay on 4.0.2. Consuming builds of 5.0.0 need their Gradle daemon AND javadoc toolchain on JDK 25+.
1 parent 5700c37 commit d7ba49a

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

microdocs-crawler-gradle/build.gradle

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ plugins {
44
id "java"
55
id "java-library"
66
id "maven-publish"
7-
id "com.maxxton.convention" version "3.3.2"
7+
id "com.maxxton.convention" version "5.0.0-RC-3"
88
}
99

1010
// Publishing (mavenJava publication + maxxton-maven-registry repository) is
1111
// auto-configured by the com.maxxton.convention plugin once maven-publish
1212
// and java are detected - see PublishingConfiguration in maxxton-conventions.
1313

1414
repositories {
15+
mavenLocal()
1516
mavenCentral()
1617
maven {
1718
url "artifactregistry://europe-maven.pkg.dev/dynamic-concept-192711/maxxton-maven-registry"
@@ -23,7 +24,7 @@ dependencies {
2324
api gradleApi()
2425
api("com.fasterxml.jackson.core:jackson-databind:2.10.1")
2526
api("com.mashape.unirest:unirest-java:1.4.9")
26-
api("com.maxxton:microdocs-core-java:3.0.0")
27+
api("com.maxxton:microdocs-core-java:5.0.0")
2728
}
2829

2930
// group and version now come from gradle.properties, set before
@@ -47,8 +48,6 @@ java {
4748
manifest {
4849
attributes 'Implementation-Title': 'microdocs-crawler-gradle', 'Implementation-Version': version
4950
}
50-
sourceCompatibility = JavaVersion.VERSION_17
51-
targetCompatibility = JavaVersion.VERSION_17
5251
}
5352

5453
task javadocJar(type: Jar, dependsOn: javadoc) {

microdocs-crawler-gradle/gradle.lockfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# This is a Gradle generated file for dependency locking.
22
# Manual edits can break the build and are not advised.
33
# This file is expected to be part of source control.
4+
# To regenerate this file, run: ./gradlew :dependencies --write-locks
45
com.fasterxml.jackson.core:jackson-annotations:2.10.1=compileClasspath,integrationTestCompileClasspath,integrationTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
56
com.fasterxml.jackson.core:jackson-core:2.10.1=compileClasspath,integrationTestCompileClasspath,integrationTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
67
com.fasterxml.jackson.core:jackson-databind:2.10.1=compileClasspath,integrationTestCompileClasspath,integrationTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
78
com.mashape.unirest:unirest-java:1.4.9=compileClasspath,integrationTestCompileClasspath,integrationTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
8-
com.maxxton:microdocs-core-java:3.0.0=compileClasspath,integrationTestCompileClasspath,integrationTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
9+
com.maxxton:microdocs-core-java:5.0.0=compileClasspath,integrationTestCompileClasspath,integrationTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
910
commons-codec:commons-codec:1.9=compileClasspath,integrationTestCompileClasspath,integrationTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1011
commons-logging:commons-logging:1.2=compileClasspath,integrationTestCompileClasspath,integrationTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1112
org.apache.httpcomponents:httpasyncclient:4.1.1=compileClasspath,integrationTestCompileClasspath,integrationTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
group=com.maxxton
2-
version=4.0.2
2+
version=5.0.0

0 commit comments

Comments
 (0)