40 lines
705 B
Groovy
40 lines
705 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'eclipse'
|
|
id 'application'
|
|
}
|
|
|
|
group 'de.jottyfan.guitools'
|
|
version '0.0.1'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.swinglabs.swingx:swingx-core:1.6.5-1'
|
|
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.0'
|
|
}
|
|
|
|
application {
|
|
mainClass = 'Main'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes (
|
|
'Main-Class': 'Main',
|
|
'Implementation-Version': version
|
|
)
|
|
}
|
|
archiveBaseName = project.name
|
|
from {
|
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
}
|