aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
blob: fc35fe12150371520bd297ba48ded3270cce186a (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
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"
}


repositories {
    mavenCentral()
}

dependencies {
    implementation(kotlin("stdlib-jdk8"))
    testCompile("junit", "junit", "4.12")
}
tasks {
    named<ShadowJar>("shadowJar") {
        archiveBaseName.set("jrconfig-shadow")
        mergeServiceFiles()
    }
}

tasks {
    build {
        dependsOn(shadowJar)
    }
}