Initial commit
This commit is contained in:
49
build.gradle.kts
Normal file
49
build.gradle.kts
Normal file
@@ -0,0 +1,49 @@
|
||||
plugins {
|
||||
id("java")
|
||||
id("java-library")
|
||||
id("application")
|
||||
}
|
||||
|
||||
group = "be.seeseemelk"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
val gdxVersion = "1.12.1"
|
||||
val slf4j = "2.0.17"
|
||||
val lombokVersion = "1.18.42"
|
||||
val avajeInjectVersion = "12.1"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Logging
|
||||
implementation("org.slf4j:slf4j-api:${slf4j}")
|
||||
runtimeOnly("org.slf4j:slf4j-simple:${slf4j}")
|
||||
|
||||
// Lombok. The plugin cannot be used as the annotation processor *must* run before Avaje's processor.
|
||||
compileOnly("org.projectlombok:lombok:${lombokVersion}")
|
||||
annotationProcessor("org.projectlombok:lombok:${lombokVersion}")
|
||||
testCompileOnly("org.projectlombok:lombok:${lombokVersion}")
|
||||
testAnnotationProcessor("org.projectlombok:lombok:${lombokVersion}")
|
||||
|
||||
// Dependency Injection
|
||||
implementation("io.avaje:avaje-config:4.1")
|
||||
implementation("io.avaje:avaje-inject:${avajeInjectVersion}")
|
||||
annotationProcessor("io.avaje:avaje-inject-generator:${avajeInjectVersion}")
|
||||
testImplementation("io.avaje:avaje-inject-test:${avajeInjectVersion}")
|
||||
testAnnotationProcessor("io.avaje:avaje-inject-generator:${avajeInjectVersion}")
|
||||
|
||||
// LibGDX
|
||||
api("com.badlogicgames.gdx:gdx:$gdxVersion")
|
||||
api("com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion")
|
||||
api("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop")
|
||||
|
||||
testImplementation(platform("org.junit:junit-bom:5.10.0"))
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
Reference in New Issue
Block a user