-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
65 lines (55 loc) · 1.66 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
group 'ru.whalemare'
version '1.0'
buildscript {
ext.kotlin_version = '1.1.51'
repositories {
mavenCentral()
mavenLocal()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.rholder:gradle-one-jar:1.0.4'
}
}
apply plugin: 'kotlin'
apply plugin: 'kotlin-kapt'
apply plugin: 'gradle-one-jar'
repositories {
mavenCentral()
mavenLocal()
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile 'com.taskadapter:redmine-java-api:3.0.0'
compile "com.jakewharton.fliptables:fliptables:1.0.2"
compile 'info.picocli:picocli:2.0.2'
// compile 'com.bluelinelabs:logansquare:1.3.7'
// apt 'com.bluelinelabs:logansquare-compiler:1.3.7'
compile 'com.google.code.gson:gson:2.8.2'
// https://mvnrepository.com/artifact/javax.mail/mail
compile group: 'javax.mail', name: 'mail', version: '1.4.7'
// compile 'com.google.api-client:google-api-client:1.23.0'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-nop
compile group: 'org.slf4j', name: 'slf4j-nop', version: '1.7.21'
testCompile("org.junit.jupiter:junit-jupiter-api:5.0.0-M1")
testCompile("org.junit.vintage:junit-vintage-engine:4.12.0-M1")
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.8.4'
}
jar {
baseName = "mira"
manifest {
attributes 'Main-Class': 'Main'
}
}
task makeJar(type: OneJar) {
mainClass = 'Main'
archiveName = 'mira.jar'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}