blob: 792c48096136a9f4bc475e1a1fb8e93c5971927d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
java
kotlin("jvm") version "1.3.72"
id("com.github.johnrengelman.shadow") version "4.0.4"
maven
}
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
testCompile("junit", "junit", "4.12")
}
artifacts {
archives(tasks.kotlinSourcesJar)
}
tasks {
named<ShadowJar>("shadowJar") {
archiveBaseName.set("jrconfig-shadow")
mergeServiceFiles()
}
}
tasks {
build {
dependsOn(shadowJar)
}
}
|