-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (34 loc) · 962 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
group 'cm2'
version '0.6'
buildscript {
ext.kotlin_version = '1.0.5'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.5
repositories {
mavenCentral()
}
jar {
manifest {
attributes 'Main-Class': 'MainKt'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'com.google.firebase:firebase-admin:5.4.0'
compile 'org.slf4j:slf4j-log4j12:1.7.25'
compile 'org.jsoup:jsoup:1.7.2'
compile 'com.squareup.retrofit2:retrofit:2.3.0'
testCompile group: 'junit', name: 'junit', version: '4.11'
}