36 lines
852 B
Groovy
36 lines
852 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'com.github.johnrengelman.shadow' version '8.1.1'
|
|
}
|
|
|
|
group = 'tech.nevets'
|
|
version = '0.2.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation files("libs/miglayout-swing-11.4.2.jar")
|
|
implementation files("libs/miglayout-core-11.4.2.jar")
|
|
//implementation "com.miglayout:miglayout-swing:11.4.2"
|
|
implementation files("libs/flatlaf-3.5.1.jar")
|
|
//implementation "com.formdev:flatlaf:3.5.1"
|
|
implementation files("libs/gson-2.11.0.jar")
|
|
//implementation "com.google.code.gson:gson:2.11.0"
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
// attributes(
|
|
// 'Main-Class': 'tech.nevets.tvpn.wg.WGTesting'
|
|
// )
|
|
attributes(
|
|
'Main-Class': 'tech.nevets.tvpn.Main'
|
|
)
|
|
}
|
|
} |