##// END OF EJS Templates
merge
cin -
r36:766d187f66bc merge default
parent child
Show More
@@ -1,50 +1,51
1 1 plugins {
2 2 id "java-library"
3 3 id "ivy-publish"
4 4 }
5 5
6 6 java {
7 7 withJavadocJar()
8 8 withSourcesJar()
9 9 toolchain {
10 10 languageVersion = JavaLanguageVersion.of(21)
11 11 }
12 12 }
13 13
14 14 dependencies {
15 15 compileOnly libs.jdt.annotations
16 16
17 17 api gradleApi(),
18 18 libs.bundles.jackson
19 19
20 20 testImplementation gradleTestKit()
21 21 testImplementation "org.junit.jupiter:junit-jupiter-api:5.11.4"
22 22 testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.11.4"
23 testRuntimeOnly "org.junit.platform:junit-platform-launcher:1.11.4"
23 24 }
24 25
25 26 task printVersion{
26 27 doLast {
27 28 println "project: $project.group:$project.name:$project.version"
28 29 println "jar: ${->jar.archiveFileName.get()}"
29 30 }
30 31 }
31 32
32 33 test {
33 34 useJUnitPlatform()
34 35 }
35 36
36 37 publishing {
37 38 repositories {
38 39 ivy {
39 40 url "${System.properties["user.home"]}/ivy-repo"
40 41 }
41 42 }
42 43 publications {
43 44 ivy(IvyPublication) {
44 45 from components.java
45 46 descriptor.description {
46 47 text = providers.provider({ description })
47 48 }
48 49 }
49 50 }
50 51 }
General Comments 0
You need to be logged in to leave comments. Login now