-
Notifications
You must be signed in to change notification settings - Fork 1
/
Build.kt
56 lines (46 loc) · 1.28 KB
/
Build.kt
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
import com.beust.kobalt.*
import com.beust.kobalt.plugin.application.*
import com.beust.kobalt.plugin.packaging.*
import net.thauvin.erik.kobalt.plugin.versioneye.*
// ./kobaltw versionEye
val bs = buildScript {
repos(localMaven())
plugins("net.thauvin.erik:kobalt-versioneye:")
}
val p = project {
name = "example"
group = "com.example"
artifactId = name
version = "0.1"
dependencies {
compile("com.beust:jcommander:1.47")
//compile("org.slf4j:slf4j-api:")
compile("ch.qos.logback:logback-core:0.5")
compile("ch.qos.logback:logback-classic:1.1.7")
compile("commons-httpclient:commons-httpclient:3.1")
compile("com.beust:kobalt-plugin-api:0.878")
}
dependenciesTest {
compile("org.testng:testng:")
}
assemble {
jar {
}
}
application {
mainClass = "com.example.MainKt"
}
versionEye {
// baseUrl = "https://www.versioneye.com/"
// colors = true
// name = ""
// org = ""
pom = true
// quiet = false
// team = ""
temp = true
// verbose = true
// visibility = "public"
//failOn(Fail.licensesUnknownCheck, Fail.licensesCheck, Fail.securityCheck, Fail.dependenciesCheck)
}
}