-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
88 lines (70 loc) · 2.5 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
81
82
83
84
85
86
87
88
plugins{
id 'java'
id 'eclipse'
id 'idea'
id 'visual-studio'
id 'application'
id 'org.springframework.boot' version '2.4.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id "io.freefair.lombok" version "5.3.0"
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
mainClassName = 'bot.GeekBot'
group = 'LegendaryGeek'
version = '0.1.0-SNAPSHOT'
eclipse.project {
buildCommand 'org.eclipse.buildship.core.gradleprojectbuilder'
natures 'org.eclipse.buildship.core.gradleprojectnature'
}
idea.module {
downloadJavadoc = true
//inheritOutputDirs = true
}
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
//Voice processing
implementation group: 'com.github.koraktor', name:'steam-condenser', version:'1.3.9'
implementation group: 'edu.cmu.sphinx', name: 'sphinx4-core', version:'5prealpha-SNAPSHOT'
implementation group: 'edu.cmu.sphinx', name: 'sphinx4-data', version:'5prealpha-SNAPSHOT'
//discord
implementation 'com.discord4j:discord4j-core:3.1.3'
//twitch
implementation group: 'com.github.twitch4j', name: 'twitch4j', version: '1.2.1'
//General libs
implementation 'org.apache.commons:commons-io:1.3.2'
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.google.guava:guava:28.2-jre'
//Logging
implementation 'ch.qos.logback:logback-classic:1.2.3'
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.12.1'
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.12.1'
//Simple rest calls
implementation "com.mashape.unirest:unirest-java:1.4.9"
//Spring boot
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//Junit mocking
testImplementation 'org.mockito:mockito-inline:3.8.0'
//Junit5
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
//Junit resource injection
//testCompile group: 'com.adelean', name: 'inject-resources-core', version: '0.2.0'
//testCompile group: 'com.adelean', name: 'inject-resources-junit-jupiter', version: '0.2.0'
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes(
'Main-Class': 'bot.GeekBot'
)
}
}