plutoengine/plutolib/build.gradle

47 lines
922 B
Groovy
Raw Normal View History

apply plugin: 'java-library'
description = ""
sourceSets {
config {
java {
srcDir "src/config/java"
}
}
main {
java {
2021-01-01 21:57:46 +00:00
srcDir "$buildDir/generated/java"
compileClasspath += config.output
}
}
}
task generateConfigs(type: Copy) {
def projectVariables = [
plutoVersion: project.version,
]
inputs.properties projectVariables
from 'src/config/java'
into "$buildDir/generated/java"
expand projectVariables
}
compileJava.dependsOn generateConfigs
dependencies {
2021-01-16 16:44:44 +00:00
api project(":plutouss2")
api platform("org.lwjgl:lwjgl-bom:$lwjglVersion")
api "com.google.code.findbugs:jsr305:3.0.2"
api "com.google.code.gson:gson:2.8.5"
api "com.google.guava:guava:28.0-jre"
api "org.joml:joml:${jomlVersion}"
api "commons-io:commons-io:2.6"
api "org.apache.commons:commons-lang3:3.11"
}