added own task
This commit is contained in:
parent
414da07a09
commit
1943e8c86b
12
build.gradle
12
build.gradle
@ -30,8 +30,8 @@ repositories {
|
|||||||
//adds all needed external libraries to gradle
|
//adds all needed external libraries to gradle
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
implementation 'org.apache.logging.log4j:log4j-api:2.17.1'
|
implementation 'org.apache.logging.log4j:log4j-api:2.17.2'
|
||||||
implementation 'org.apache.logging.log4j:log4j-core:2.17.1'
|
implementation 'org.apache.logging.log4j:log4j-core:2.17.2'
|
||||||
implementation 'org.openjfx:javafx-controls:18'
|
implementation 'org.openjfx:javafx-controls:18'
|
||||||
implementation 'org.apache.commons:commons-collections4:4.4'
|
implementation 'org.apache.commons:commons-collections4:4.4'
|
||||||
implementation 'org.openjfx:javafx:19-ea+5'
|
implementation 'org.openjfx:javafx:19-ea+5'
|
||||||
@ -69,8 +69,12 @@ tasks.register('build-cs108', Jar) {
|
|||||||
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
||||||
}
|
}
|
||||||
description 'Builds .jar & documentation. Or is supposed to do that, at least.'
|
description 'Builds .jar & documentation. Or is supposed to do that, at least.'
|
||||||
|
dependsOn myJavadocs
|
||||||
doLast {
|
doLast {
|
||||||
println('Hello world')
|
println('done')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task myJavadocs(type: Javadoc) {
|
||||||
|
source = sourceSets.main.allJava
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user