-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
47 lines (39 loc) · 1.17 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
group 'TPBScraper'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.1.51'
ext.ktor_version = '0.4.0'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = 'org.jetbrains.ktor.netty.DevelopmentHost'
targetCompatibility = 1.8
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven { url "https://dl.bintray.com/kotlin/kotlinx" }
maven { url "https://dl.bintray.com/kotlin/ktor" }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile "org.jetbrains.ktor:ktor-core:$ktor_version"
compile "org.jetbrains.ktor:ktor-netty:$ktor_version"
testCompile group: 'junit', name: 'junit', version: '4.12'
compile "ch.qos.logback:logback-classic:1.2.1"
compile 'org.jsoup:jsoup:1.10.3'
compile group: 'com.google.code.gson', name: 'gson', version: '2.3.1'
}
kotlin { experimental { coroutines 'enable' } }
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}