-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
36 lines (31 loc) · 857 Bytes
/
build.gradle
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
36
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.71'
}
apply plugin: 'kotlin-kapt'
group 'me.rashiq'
version '1.0'
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "com.github.ajalt:clikt:2.7.1"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:+"
implementation "net.team2xh:onions_2.12:+"
implementation "commons-io:commons-io:2.6"
testCompile group: 'junit', name: 'junit', version: '4.12'
testImplementation("io.mockk:mockk:+")
}
jar {
manifest {
attributes 'Main-Class': 'ApplicationKt'
}
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}