initial update

This commit is contained in:
Ocame
2025-06-25 12:00:47 +02:00
parent 2b06170178
commit 10dfdbc650
6 changed files with 29 additions and 30 deletions

View File

@ -1,39 +1,39 @@
plugins {
id'application'
id'com.github.johnrengelman.shadow' version '4.0.4'
id'com.github.johnrengelman.shadow' version '7.1.2'
}
version '0.10'
application.mainClass = "core.Main"
group 'de.ocame'
version '0.20'
repositories {
mavenCentral()
}
//def jdaVersion = '3.8.3_460'
def jdaVersion = '5.0.0-alpha.20'
def jdaVersion = '5.2.3'
apply plugin: 'java'
sourceCompatibility = 1.8
sourceCompatibility = '17'
targetCompatibility = '17'
mainClassName = 'core.Main'
repositories {
jcenter()
// Required for OkHTTP 3.13.0-SNAPSHOT
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
compile "net.dv8tion:JDA:$jdaVersion"
compile "org.slf4j:slf4j-simple:1.7.36"
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.6'
compile "org.json:json:20141113"
// compile "org.slf4j:slf4j-simple:1.7.36"
implementation "net.dv8tion:JDA:$jdaVersion"
implementation 'org.jsoup:jsoup:1.15.3'
implementation 'org.json:json:20231013'
implementation 'com.mysql:mysql-connector-j:9.2.0'
implementation "ch.qos.logback:logback-classic:1.5.6"
}
repositories {
jcenter()
}
compileJava.options.encoding = 'UTF-8'
//mainClassName = 'core.Main'