Select Git revision
build.gradle
-
William Billingsley authored
This switches to just using Swing and no modules for better compatibility with working with VS Code.
William Billingsley authoredThis switches to just using Swing and no modules for better compatibility with working with VS Code.
build.gradle 1.03 KiB
buildscript {
repositories {
maven { url 'https://hopper.une.edu.au/artifactory/libs-release/' }
mavenCentral()
}
}
plugins {
id 'application'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
maven { url 'https://hopper.une.edu.au/artifactory/libs-release/' }
mavenCentral()
}
dependencies {
// Log4J does logging. We'll meet it properly in a later week...
implementation 'org.apache.logging.log4j:log4j-api:2.18.0'
implementation 'org.apache.logging.log4j:log4j-core:2.18.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}
test {
useJUnitPlatform()
}
application {
mainClass = 'dotsandboxes.Main'
}
task fatJar(type: Jar) {
manifest {
attributes 'Main-Class': 'dotsandboxes.Main'
}
baseName = 'executable-jar'
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}