-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (41 loc) · 1022 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
37
38
39
40
41
42
43
44
45
46
47
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.41'
id 'maven-publish'
}
group 'com.taskbase.arson'
archivesBaseName = 'arson'
version '1.1'
repositories {
mavenCentral()
}
dependencies {
compile 'org.jetbrains.kotlin:kotlin-reflect:1.3.41'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
testCompile 'junit:junit:4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
publishing {
repositories {
maven {
name = "Github"
url = uri("https://maven.pkg.github.com/taskbase/arson")
credentials {
username = findProperty("github.username")
password = findProperty("github.token")
}
}
}
publications {
register("jar", MavenPublication) {
from(components["java"])
pom {
url.set("https://github.com/taskbase/arson.git")
}
}
}
}