Skip to content

Commit

Permalink
remove shadowjar
Browse files Browse the repository at this point in the history
  • Loading branch information
isXander committed Nov 27, 2021
1 parent 6dccce8 commit 25a7f2c
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,37 +1,30 @@
plugins {
kotlin("jvm") version "1.6.0"
id("com.github.johnrengelman.shadow") version "7.1.0"
`java-library`
`maven-publish`
}

group = "org.bundleproject"
version = "0.0.1"
version = "0.0.2"

repositories {
mavenCentral()
}

dependencies {
implementation(kotlin("stdlib-jdk8", "1.6.0"))
api(kotlin("stdlib-jdk8", "1.6.0"))
}

tasks {
shadowJar {
archiveBaseName.set("libVersion")
archiveClassifier.set("")

duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

publishing {
publications {
create<MavenPublication>("maven") {
groupId = "org.bundleproject"
artifactId = "libversion"
version = project.version as String

artifact(shadowJar) {
builtBy(shadowJar)
artifact(jar) {
builtBy(jar)
}
}
}
Expand Down

0 comments on commit 25a7f2c

Please sign in to comment.