-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
70 lines (54 loc) · 1.82 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
60
61
62
63
64
65
66
67
68
69
70
buildscript {
ext.kotlin_version = '1.3.70'
}
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
}
apply plugin: 'kotlin-kapt'
apply plugin: 'maven'
group 'us.groupwork.mta.signus'
version '0.1.2'
sourceCompatibility = 1.8
repositories {
mavenCentral()
// Required for Tinder's Scarlet library
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testCompile group: 'junit', name: 'junit', version: '4.12'
// UI: TornadoFX and generic JavaFX libraries
compile 'no.tornado:tornadofx:1.7.20'
compile 'no.tornado:tornadofx-controlsfx:0.1'
compile 'org.fxmisc.richtext:richtextfx:0.10.4'
// Asynchronous: Kotlin Coroutines
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.5'
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-javafx:1.3.5'
// HTTP: OkHttp-related libraries
compile 'com.squareup.okhttp3:okhttp:4.5.0'
compile 'com.squareup.retrofit2:retrofit:2.8.1'
compile 'com.squareup.retrofit2:converter-moshi:2.8.1'
// JSON: Moshi-related libraries
compile 'com.squareup.moshi:moshi:1.9.2'
kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.9.2'
// WebSocket: Scarlet-related libraries
compile 'com.tinder.scarlet:scarlet:0.2.5-SNAPSHOT'
compile 'com.tinder.scarlet:protocol-websocket-okhttp:0.2.5-SNAPSHOT'
compile 'com.tinder.scarlet:stream-adapter-coroutines:0.2.5-SNAPSHOT'
compile 'com.tinder.scarlet:message-adapter-moshi:0.2.5-SNAPSHOT'
}
jar {
manifest {
attributes 'Main-Class': 'Signus'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}