-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (28 loc) · 817 Bytes
/
build.gradle
File metadata and controls
34 lines (28 loc) · 817 Bytes
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
plugins {
id 'java'
}
group 'me.ayunami2000.ayunpictojava'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation 'io.netty:netty-codec-http:4.1.107.Final'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'net.dv8tion:JDA:5.0.0-beta.20'
implementation 'org.slf4j:slf4j-simple:2.0.12'
implementation 'org.asynchttpclient:async-http-client:2.12.3'
implementation 'net.sourceforge.tess4j:tess4j:5.11.0'
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes "Main-Class": "me.ayunami2000.ayunpictojava.Main"
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}