71 lines
1.9 KiB
Groovy
71 lines
1.9 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
id 'com.github.johnrengelman.shadow' version '8.1.1'
|
|
}
|
|
|
|
group = 'me.chayapak1'
|
|
version = 'rolling'
|
|
description = 'ChomeNS Bot'
|
|
java.sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
|
|
maven {
|
|
url = uri('https://jitpack.io')
|
|
}
|
|
|
|
maven {
|
|
url = uri('https://repo.opencollab.dev/main/')
|
|
}
|
|
|
|
maven {
|
|
url = uri('https://repo.opencollab.dev/maven-snapshots/')
|
|
}
|
|
|
|
maven {
|
|
url = uri('https://repo.opencollab.dev/maven-releases/')
|
|
}
|
|
|
|
maven {
|
|
url = uri('https://repo.maven.apache.org/maven2/')
|
|
}
|
|
|
|
maven {
|
|
url = uri('https://maven.maxhenkel.de/repository/public')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.geysermc.mcprotocollib:protocol:1.21-SNAPSHOT'
|
|
implementation 'net.kyori:adventure-text-serializer-ansi:4.15.0'
|
|
implementation 'com.google.code.gson:gson:2.11.0'
|
|
implementation 'com.google.guava:guava:31.1-jre'
|
|
implementation 'org.jline:jline:3.23.0'
|
|
implementation 'ch.qos.logback:logback-classic:1.5.11'
|
|
implementation 'com.github.pircbotx:pircbotx:2.3.1'
|
|
implementation 'com.github.ricksbrown:cowsay:1.1.0'
|
|
implementation 'org.yaml:snakeyaml:2.0'
|
|
implementation 'org.luaj:luaj-jse:3.0.1'
|
|
implementation 'net.dv8tion:JDA:5.0.0-beta.12'
|
|
implementation 'joda-time:joda-time:2.12.4'
|
|
implementation 'net.kyori:adventure-text-serializer-legacy:4.15.0'
|
|
implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.20.0'
|
|
implementation 'io.socket:socket.io-client:2.1.0'
|
|
implementation 'de.maxhenkel.opus4j:opus4j:2.0.2'
|
|
implementation 'org.concentus:Concentus:1.0-SNAPSHOT'
|
|
}
|
|
|
|
application {
|
|
mainClass = 'me.chayapak1.chomens_bot.Main'
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
tasks.withType(Javadoc).configureEach {
|
|
options.encoding = 'UTF-8'
|
|
}
|