plugins { kotlin("jvm") kotlin("kapt") java idea `java-library` id("application") id("org.springframework.boot") version "latest.release" id("io.spring.dependency-management") version "latest.release" id("com.google.devtools.ksp") } group = "de.hype.bingonet.compiler" version = "1.0-SNAPSHOT" tasks.test { useJUnitPlatform() } repositories { mavenCentral() maven("https://repo.hypixel.net/repository/Hypixel/") maven("https://jitpack.io") maven("https://repo.nea.moe/releases") } dependencies { implementation(project(":shared-annotation-proccessor")) testImplementation(kotlin("test")) implementation(kotlin("stdlib")) // implementation("org.apache.logging.log4j:log4j-Core.INSTANCE:2.20.0") implementation("com.google.code.gson:gson") implementation("com.mysql:mysql-connector-j") // 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.4.0") // https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk16 implementation("org.bouncycastle:bcprov-jdk18on:1.72") 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.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")) implementation("com.google.auto.service:auto-service:latest.release") annotationProcessor("com.google.auto.service:auto-service:latest.release") kapt("com.google.auto.service:auto-service:latest.release") annotationProcessor(project(":shared-annotation-proccessor")) ksp(project(":shared-annotation-proccessor")) api(project(":shared-annotation-proccessor")) implementation("com.github.javaparser:javaparser-core:latest.release") implementation("com.squareup:javapoet:1.13.0") implementation("com.squareup:kotlinpoet:latest.release") implementation("com.google.devtools.ksp:symbol-processing-api:latest.release") implementation("com.squareup:kotlinpoet-ksp:latest.release") implementation("org.eclipse.jgit:org.eclipse.jgit:latest.release") // implementation("moe.nea:neurepoparser:latest.release") 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.jetbrains.exposed:exposed-migration:$exposedVersion") } application { mainClass.set("de.hype.bingonet.server.compilation.Main") } springBoot { mainClass.set("de.hype.bingonet.server.compilation.Main") } tasks.withType { options.compilerArgs.add("-AprojectDir=${project.projectDir}") } // 1) Gemeinsame Kotlin‑Compiler‑Optionen kotlin { jvmToolchain(21) compilerOptions { freeCompilerArgs.addAll( listOf( "-Xmulti-dollar-interpolation", ) ) } } // Dein vorhandener Java‑Annotation‑Processor‑Hook bleibt unverändert: tasks.withType { options.compilerArgs.add("-AprojectDir=${project.projectDir}") }