File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed
Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 11plugins {
22 kotlin(" jvm" ) version " 1.5.31"
3+ id(" com.github.johnrengelman.shadow" ) version " 7.1.0"
34 `maven- publish`
45}
56
@@ -19,4 +20,27 @@ dependencies {
1920 implementation(" io.ktor:ktor-client-core:$ktorVersion " )
2021 implementation(" io.ktor:ktor-client-apache:$ktorVersion " )
2122 implementation(" io.ktor:ktor-client-gson:$ktorVersion " )
22- }
23+ }
24+
25+ tasks {
26+ shadowJar {
27+ archiveBaseName.set(" launchwrapper" )
28+ archiveClassifier.set(" " )
29+
30+ duplicatesStrategy = DuplicatesStrategy .EXCLUDE
31+ }
32+
33+ publishing {
34+ publications {
35+ create<MavenPublication >(" maven" ) {
36+ groupId = " org.bundleproject"
37+ artifactId = " launchwrapper"
38+ version = project.version as String
39+
40+ artifact(shadowJar) {
41+ builtBy(shadowJar)
42+ }
43+ }
44+ }
45+ }
46+ }
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.1-bin .zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.2-all .zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments