-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
83 lines (64 loc) · 2.15 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
71
72
73
74
75
76
77
78
79
80
plugins {
id 'java'
id 'application'
}
version '1.0-SNAPSHOT'
mainClassName = 'Main'
sourceCompatibility = 11
targetCompatibility = 11
distTar.enabled(false)
distZip.enabled(false)
repositories {
mavenCentral()
jcenter()
maven { url "https://oss.jfrog.org/artifactory/libs-release"}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'com.github.twitch4j', name: 'twitch4j', version: '1.1.3'
// compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile 'com.google.api-client:google-api-client:1.30.9'
compile 'com.google.oauth-client:google-oauth-client-jetty:1.30.6'
compile 'com.google.apis:google-api-services-sheets:v4-rev20200312-1.30.9'
compile 'com.google.cloud:google-cloud-bigquery:1.111.1'
compile group: 'commons-codec', name: 'commons-codec', version: '1.14'
//compile 'com.google.code.gson:gson:+'
// https://mvnrepository.com/artifact/org.apache.commons/commons-collections4
compile group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
// https://mvnrepository.com/artifact/org.jsoup/jsoup
compile group: 'org.jsoup', name: 'jsoup', version: '1.13.1'
compile group: 'ws.schild', name: 'jave-all-deps', version: '2.7.1'
compile 'com.iheartradio.m3u8:open-m3u8:0.2.4'
// https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.7.2'
implementation 'org.postgresql:postgresql:42.2.18'
compile 'org.apache.commons:commons-math3:3.6.1'
}
sourceSets {
main {
java {
srcDirs= ["src/main/java"]
}
resources {
srcDirs= ["src/main/resources"]
}
}
}
jar {
manifest {
attributes(
'Main-Class': 'Main'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
tasks.withType(Test) {
systemProperty "file.encoding", "UTF-8"
}