-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
59 lines (52 loc) · 1.22 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
buildscript {
ext.kotlin_version = '1.2.31'
repositories {
mavenCentral()
maven{
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.jengelman.gradle.plugins:shadow:2.0.2"
}
}
group 'com.jatti'
version '1.0-SNAPSHOT'
apply plugin: 'kotlin'
apply plugin: "com.github.johnrengelman.shadow"
repositories {
mavenCentral()
jcenter()
maven {
url "https://dl.bintray.com/kotlin/ktor"
}
maven {
url 'https://jitpack.io'
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "io.ktor:ktor-server-core:0.9.1"
compile "io.ktor:ktor-server-netty:0.9.1"
compile "io.ktor:ktor-websockets:0.9.1"
implementation 'com.google.code.gson:gson:2.8.1'
compile 'com.github.Vatuu:discord-rpc:1.4.2'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
kotlin {
experimental {
coroutines "enable"
}
}
shadowJar {
baseName "NetflixRPC"
manifest {
attributes('Main-Class': 'com.jatti.NetflixRPCKt')
}
}