import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import org.springframework.boot.gradle.tasks.bundling.BootJar plugins { kotlin("jvm") java idea `java-library` id("org.springframework.boot") version "latest.release" id("io.spring.dependency-management") version "latest.release" id("com.google.devtools.ksp") } group = "de.hype" version = "1.0-SNAPSHOT" repositories { mavenCentral() maven("https://repo.hypixel.net/repository/Hypixel/") maven("https://jitpack.io") maven("https://repo.nea.moe/releases") } dependencies { testImplementation(kotlin("test")) //implementation("org.apache.logging.log4j:log4j-Core.INSTANCE:2.20.0") implementation("com.google.code.gson:gson:latest.release") implementation("com.mysql:mysql-connector-j") implementation("nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:latest.release") //implementation("io.github.JDA-Fork:JDA:82d7ab90d6") implementation("net.dv8tion:JDA:latest.release") implementation("com.vdurmont:emoji-java:latest.release") implementation("org.commonmark:commonmark:latest.release") implementation("org.reflections:reflections:latest.release") implementation("com.github.valb3r.letsencrypt-helper:letsencrypt-helper-tomcat:0.5.0") // https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk16 implementation("org.bouncycastle:bcprov-jdk18on:latest.release") implementation("org.bouncycastle:bcpkix-jdk18on:latest.release") implementation("org.slf4j:log4j-over-slf4j") implementation("p6spy:p6spy:latest.release") implementation("com.github.ben-manes.caffeine:caffeine") implementation("org.apache.httpcomponents.client5:httpclient5") implementation("com.github.HacktheTime:HypixelAPI:4f36fb94e2d393121e7b0181d4e1f6b99b59394e") testImplementation("org.jsoup:jsoup:1.15.3") implementation("com.github.kwhat:jnativehook:2.2.2") // Global Screen Listener for Debug Key // implementation("com.sun.mail:javax.mail") implementation("me.nullicorn:Nedit:latest.release") implementation("org.apache.commons:commons-lang3:latest.release") implementation("org.apache.commons:commons-text:latest.release") implementation("org.springframework.boot:spring-boot-starter-web") implementation("org.springframework.boot:spring-boot-starter-thymeleaf") implementation("org.springframework.boot:spring-boot-starter-security") implementation("ch.qos.logback:logback-classic") testImplementation("org.springframework.boot:spring-boot-starter-test") implementation("org.jsoup:jsoup:latest.release") implementation(kotlin("stdlib")) annotationProcessor(project(":shared-annotation-proccessor")) ksp(project(":shared-annotation-proccessor")) implementation(project(":shared-annotation-proccessor")) api(project(":annotation-proccessor")) annotationProcessor(project(":annotation-proccessor")) ksp(project(":annotation-proccessor")) implementation("com.squareup:javapoet:1.13.0") implementation("com.madgag:animated-gif-lib:latest.release") implementation("org.jetbrains.kotlin:kotlin-reflect") //exposed sql val exposedVersion = "latest.release" implementation("org.jetbrains.exposed:exposed-core:$exposedVersion") implementation("org.jetbrains.exposed:exposed-crypt:$exposedVersion") implementation("org.jetbrains.exposed:exposed-dao:$exposedVersion") implementation("org.jetbrains.exposed:exposed-jdbc:$exposedVersion") implementation("org.jetbrains.exposed:exposed-kotlin-datetime:$exposedVersion") implementation("org.jetbrains.exposed:exposed-json:$exposedVersion") implementation("org.jetbrains.exposed:exposed-money:$exposedVersion") implementation("org.jetbrains.exposed:exposed-spring-boot-starter:$exposedVersion") implementation("org.flywaydb:flyway-core:latest.release") } tasks.test { useJUnitPlatform() } kotlin { jvmToolchain { languageVersion.set(JavaLanguageVersion.of(21)) } } tasks.named("bootJar") { mainClass.set("de.hype.bingonet.server.Main") archiveFileName.set("bingonetonlineboot.jar") } tasks.withType { options.compilerArgs.add("-AprojectDir=${project.projectDir}") } sourceSets { test { kotlin.srcDirs( "src/main/kotlin", "src/test/kotlin" ) java.srcDirs( "src/main/java", "src/test/java" ) } } val compileKotlin: KotlinCompile by tasks compileKotlin.compilerOptions { freeCompilerArgs.set(listOf("-Xmulti-dollar-interpolation")) }