update to Gradle 9.2.0; always use Java 25 toolchain to generate javadoc
Some checks failed
CI / build (push) Has been cancelled
CI / release (push) Has been cancelled
Error Prone / error-prone (push) Has been cancelled
Fonts / Fonts (inter) (push) Has been cancelled
Fonts / Fonts (jetbrains-mono) (push) Has been cancelled
Fonts / Fonts (roboto) (push) Has been cancelled
Fonts / Fonts (roboto-mono) (push) Has been cancelled
Native Libraries / Natives (macos-latest) (push) Has been cancelled
Native Libraries / Natives (ubuntu-24.04-arm) (push) Has been cancelled
Native Libraries / Natives (ubuntu-latest) (push) Has been cancelled
Native Libraries / Natives (windows-latest) (push) Has been cancelled

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
}
}
}
}