Skip to content

Commit 25a7f2c

Browse files
committed
remove shadowjar
1 parent 6dccce8 commit 25a7f2c

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

build.gradle.kts

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,30 @@
11
plugins {
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

77
group = "org.bundleproject"
8-
version = "0.0.1"
8+
version = "0.0.2"
99

1010
repositories {
1111
mavenCentral()
1212
}
1313

1414
dependencies {
15-
implementation(kotlin("stdlib-jdk8", "1.6.0"))
15+
api(kotlin("stdlib-jdk8", "1.6.0"))
1616
}
1717

1818
tasks {
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
}

0 commit comments

Comments
 (0)