##// END OF EJS Templates
Removed JsonDelegate, ShellSpecMixin, added JsonObjectSpec, JsonArraySpec, SemVersion. Added WriteJson task and sources {} dsl plugin.
Removed JsonDelegate, ShellSpecMixin, added JsonObjectSpec, JsonArraySpec, SemVersion. Added WriteJson task and sources {} dsl plugin.

File last commit:

r22:5a3f85261d98 default
r22:5a3f85261d98 default
Show More
build.gradle
41 lines | 789 B | text/x-groovy | GroovyLexer
plugins {
id "java-library"
id "ivy-publish"
}
java {
withJavadocJar()
withSourcesJar()
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
dependencies {
compileOnly libs.jdt.annotations
api gradleApi(),
libs.bundles.jackson
}
task printVersion{
doLast {
println "project: $project.group:$project.name:$project.version"
println "jar: ${->jar.archiveFileName.get()}"
}
}
publishing {
repositories {
ivy {
url "${System.properties["user.home"]}/ivy-repo"
}
}
publications {
ivy(IvyPublication) {
from components.java
descriptor.description {
text = providers.provider({ description })
}
}
}
}