Skip to content
Snippets Groups Projects
Commit e311accc authored by abhatta5's avatar abhatta5
Browse files

Upload New File

parent 55022898
No related branches found
No related tags found
No related merge requests found
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
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment