File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 11plugins {
22 kotlin(" jvm" ) version " 1.6.0"
3- id( " com.github.johnrengelman.shadow " ) version " 7.1.0 "
3+ `java - library`
44 `maven- publish`
55}
66
77group = " org.bundleproject"
8- version = " 0.0.1 "
8+ version = " 0.0.2 "
99
1010repositories {
1111 mavenCentral()
1212}
1313
1414dependencies {
15- implementation (kotlin(" stdlib-jdk8" , " 1.6.0" ))
15+ api (kotlin(" stdlib-jdk8" , " 1.6.0" ))
1616}
1717
1818tasks {
19- shadowJar {
20- archiveBaseName.set(" libVersion" )
21- archiveClassifier.set(" " )
22-
23- duplicatesStrategy = DuplicatesStrategy .EXCLUDE
24- }
25-
2619 publishing {
2720 publications {
2821 create<MavenPublication >(" maven" ) {
2922 groupId = " org.bundleproject"
3023 artifactId = " libversion"
3124 version = project.version as String
3225
33- artifact(shadowJar ) {
34- builtBy(shadowJar )
26+ artifact(jar ) {
27+ builtBy(jar )
3528 }
3629 }
3730 }
You can’t perform that action at this time.
0 commit comments