File tree Expand file tree Collapse file tree 6 files changed +10
-21
lines changed Expand file tree Collapse file tree 6 files changed +10
-21
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,8 @@ plugins {
8
8
}
9
9
10
10
application {
11
- mainClassName = " $mainClassName "
11
+ mainClass = " $mainClassName "
12
12
}
13
- configurations. implementation. canBeResolved = true
14
- configurations. compileOnly. canBeResolved = true
15
13
16
14
jar {
17
15
duplicatesStrategy = DuplicatesStrategy . INCLUDE
Original file line number Diff line number Diff line change @@ -8,11 +8,9 @@ plugins {
8
8
}
9
9
10
10
application {
11
- mainClassName = " $mainClassName "
11
+ mainClass = " $mainClassName "
12
12
}
13
13
14
- configurations. implementation. canBeResolved = true
15
- configurations. compileOnly. canBeResolved = true
16
14
jar {
17
15
duplicatesStrategy = DuplicatesStrategy . INCLUDE
18
16
manifest {
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ tasks.register('nar', Zip) {
105
105
dependsOn shadowJar
106
106
107
107
// bundle the shadow jar as is
108
- from(shadowJar. archivePath ) {
108
+ from(shadowJar. archiveFile ) {
109
109
into " META-INF/bundled-dependencies"
110
110
}
111
111
@@ -121,8 +121,8 @@ tasks.register('nar', Zip) {
121
121
// explicitly include all files in the resources folder, otherwise the shadowJar will not include them
122
122
sourceSets. main. resources. include(" **/*" )
123
123
124
- archiveName " pulsar-cassandra-admin-${ project.version} -nar.nar"
125
- destinationDir file(" ${ buildDir} /libs" )
124
+ archiveFileName = " pulsar-cassandra-admin-${ project.version} -nar.nar"
125
+ destinationDirectory = file(" ${ buildDir} /libs" )
126
126
}
127
127
128
128
assemble. dependsOn(nar)
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ plugins {
5
5
id ' java'
6
6
id ' idea'
7
7
id ' application'
8
- id " net.ltgt.apt-idea" version " 0.21"
9
8
id " com.dorongold.task-tree" version " 2.1.0"
10
9
id " jacoco"
11
10
id " com.gorylenko.gradle-git-properties" version " 2.3.1"
@@ -16,15 +15,14 @@ plugins {
16
15
id ' com.github.jk1.dependency-license-report'
17
16
id " com.github.johnrengelman.shadow" apply false
18
17
id " io.github.lhotari.gradle-nar-plugin" apply false
19
- id ' com.palantir.docker' version ' 0.30 .0' apply false
18
+ id ' com.palantir.docker' version ' 0.35 .0' apply false
20
19
id ' docker-compose' apply false
21
20
}
22
21
23
22
allprojects {
24
23
repositories {
25
24
mavenLocal()
26
25
mavenCentral()
27
- jcenter() // or Maven central, required for Lombok dependency
28
26
maven { url " https://oss.sonatype.org/content/repositories/snapshots" }
29
27
maven { url " https://packages.confluent.io/maven/" }
30
28
maven { url " https://repo.typesafe.com/typesafe/releases/" }
@@ -112,9 +110,9 @@ subprojects {
112
110
113
111
jacocoTestReport {
114
112
reports {
115
- html. enabled = true
116
- xml. enabled = true
117
- csv. enabled = false
113
+ html. required = true
114
+ xml. required = true
115
+ csv. required = false
118
116
}
119
117
}
120
118
Original file line number Diff line number Diff line change 1
1
# Tue Jan 12 12:33:20 CET 2021
2
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.2 -all.zip
2
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.1 -all.zip
3
3
distributionBase =GRADLE_USER_HOME
4
4
distributionPath =wrapper/dists
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -7,11 +7,6 @@ buildscript {
7
7
classpath " io.github.lhotari.gradle-nar-plugin:gradle-nar-plugin:0.5.1"
8
8
classpath " gradle.plugin.com.github.johnrengelman:shadow:7.1.2"
9
9
classpath " com.avast.gradle:gradle-docker-compose-plugin:0.14.9"
10
-
11
- // workaround for issue https://github.com/n0mer/gradle-git-properties/issues/195
12
- classpath(" org.eclipse.jgit:org.eclipse.jgit:5.13.0.202109080827-r" ) {
13
- force = true
14
- }
15
10
}
16
11
}
17
12
You can’t perform that action at this time.
0 commit comments