update to Gradle 9.2.0; always use Java 25 toolchain to generate javadoc

Notes:
- Gradle 9+ requires Java 17 to run
- using Java 21 on GitHub Actions
- not using Java 25 because Kotlin does not yet support it and output some warnings
This commit is contained in:
Karl Tauber
2025-10-31 23:52:08 +01:00
parent 10677d469f
commit 02f7cb8972
13 changed files with 36 additions and 27 deletions

View File

@@ -15,7 +15,7 @@
*/
open class NativeArtifact( val fileName: String, val classifier: String, val type: String ) {}
open class NativeArtifact( val fileName: String, val classifier: String, val extension: String ) {}
open class PublishExtension {
var artifactId: String? = null
@@ -77,10 +77,10 @@ publishing {
afterEvaluate {
extension.nativeArtifacts?.forEach {
artifact( artifacts.add( "archives", file( it.fileName ) ) {
artifact( file( it.fileName ) ) {
classifier = it.classifier
type = it.type
} )
extension = it.extension
}
}
}
}