-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbuild.gradle
59 lines (50 loc) · 1.52 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
plugins {
id 'nebula.project' version '7.0.5'
id 'nebula.release' version '14.0.2'
id 'nebula.kotlin' version '1.3.61'
id 'nebula.maven-publish' version '14.1.1'
id 'com.jfrog.bintray' version '1.8.4'
}
group 'au.com.console'
repositories {
jcenter()
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
test {
useJUnitPlatform {
includeEngines 'spek2'
}
testLogging {
events("passed", "skipped", "failed")
setExceptionFormat("full")
}
}
dependencies {
compile 'org.jetbrains.kotlin:kotlin-reflect'
testImplementation 'com.natpryce:hamkrest:1.2.3.0'
testImplementation "org.spekframework.spek2:spek-dsl-jvm:2.0.9"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.0.0'
testRuntimeOnly "org.spekframework.spek2:spek-runner-junit5:2.0.9"
}
tasks.bintrayUpload.dependsOn tasks.check
gradle.taskGraph.whenReady { graph ->
tasks.bintrayUpload.onlyIf {
graph.hasTask(':final') || graph.hasTask(':candidate')
}
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
publications = ['nebula']
pkg {
repo = 'kotlin'
userOrg = 'consoleau'
name = 'kassava'
licenses = ['Apache-2.0']
labels = ['kotlin']
websiteUrl = "https://github.com/consoleau/${project.name}"
issueTrackerUrl = "https://github.com/consoleau/${project.name}/issues"
vcsUrl = "https://github.com/consoleau/${project.name}.git"
}
}