-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (36 loc) · 911 Bytes
/
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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.2.0'
id 'idea'
}
group 'site.purrbot'
version '1.8.0'
java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
}
application {
mainClassName = "site.purrbot.api.ImageAPI"
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'io.javalin', name: 'javalin', version: '3.13.3'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'com.google.code.gson', name: 'gson', version: '2.11.0'
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.4.0'
}
compileJava {
classpath = sourceSets.main.compileClasspath
options.encoding('UTF-8')
}
tasks.withType(JavaCompile) {
options.encoding('UTF-8')
}
artifacts {
archives shadowJar
}
shadowJar {
archiveFileName = 'ImageAPI.jar'
}