-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
59 lines (46 loc) · 1.48 KB
/
build.gradle
File metadata and controls
59 lines (46 loc) · 1.48 KB
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
buildscript {
ext.kotlin_version = '1.1.1'
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}"
classpath 'org.ajoberstar:gradle-git:+'
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'org.ajoberstar.grgit'
apply plugin: 'org.ajoberstar.release-opinion'
apply plugin: 'com.github.johnrengelman.shadow'
group = 'xyz.sequence.processmanager'
version "${project.version}"
sourceCompatibility = 1.8
jar {
manifest {
attributes 'Main-Class': "${rootProject.group}.${rootProject.name}Kt",
'Release-Name': rootProject.name,
'Release-Version': rootProject.version
}
}
shadowJar {
baseName = rootProject.name
version = "${new Date().format('YYYYMMdd-HHmmss')}-${rootProject.version}"
classifier = null
}
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:${kotlin_version}"
compile 'com.google.code.gson:gson:2.8.0'
compile 'io.reactivex.rxjava2:rxjava:2.0.7'
compile 'io.reactivex.rxjava2:rxkotlin:2.0.0'
compile 'com.squareup.retrofit2:retrofit:2.2.0'
compile 'com.squareup.retrofit2:adapter-rxjava2:2.2.0'
compile 'com.squareup.retrofit2:converter-gson:2.2.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}