Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id 'org.jetbrains.kotlin.jvm' version '1.3.71'
- id "com.github.johnrengelman.shadow" version "5.2.0"
- }
- def _repo = projectDir.getParent() + "/_repo/" // <-
- group 'io.github.censored'
- version '1.0'
- repositories {
- mavenCentral()
- maven {
- url _repo // <-
- }
- }
- dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
- implementation "io.github.censored:kotlin-lib:1.0" // <-
- testImplementation "org.jetbrains.kotlin:kotlin-test"
- testImplementation "org.jetbrains.kotlin:kotlin-test-junit"
- testImplementation "org.junit.jupiter:junit-jupiter:5.6.0"
- }
- compileKotlin {
- kotlinOptions.jvmTarget = "1.8"
- }
- compileTestKotlin {
- kotlinOptions.jvmTarget = "1.8"
- }
- shadowJar {
- manifest {
- attributes(
- 'Main-Class': 'MainKt'
- )
- }
- }
- test {
- useJUnitPlatform()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement