mirror of
https://github.com/darwincereska/terminordle.git
synced 2026-06-11 08:33:23 -05:00
36 lines
517 B
Groovy
36 lines
517 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
|
|
group = project.maven_group
|
|
version = project.version
|
|
|
|
application {
|
|
mainClass = "dev.darwincereska.terminordle.App"
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(project.java_version as int)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.release = java_version as int
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class': application.mainClass.get()
|
|
}
|
|
}
|