-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (29 loc) · 1 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
plugins {
id 'java'
}
group = 'io.webfolder'
version = '1.0.2'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
}
dependencies {
implementation 'com.neovisionaries:nv-websocket-client:2.2'
implementation 'com.google.code.gson:gson:2.8.0'
// SLF4J API
implementation 'org.slf4j:slf4j-api:1.7.36'
implementation 'org.slf4j:slf4j-nop:1.7.36' // No-Op-Logger (suppresses Logging)
testImplementation 'junit:junit:4.12'
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
testImplementation 'uk.com.robust-it:cloning:1.9.3'
}
////////////////////////////////////////////////////////////////////////
// !!! IMPORTANT: Add -parameters to the compiler arguments !!!
// Otherwise u get runtime Errors like url not found (instead generic arg0).
////////////////////////////////////////////////////////////////////////
tasks.withType(JavaCompile) {
options.compilerArgs << '-parameters'
}