Add run task for easier running
This commit is contained in:
parent
13006d5280
commit
6108028d05
@ -47,6 +47,11 @@ val jar by tasks.getting(Jar::class) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
val run by tasks.creating(JavaExec::class) {
|
||||||
|
classpath = java.sourceSets["main"].runtimeClasspath
|
||||||
|
main = "eu.mikroskeem.uurimustoo.algoritmidetest.Main"
|
||||||
|
}
|
||||||
|
|
||||||
val wrapper by tasks.creating(Wrapper::class) {
|
val wrapper by tasks.creating(Wrapper::class) {
|
||||||
gradleVersion = "4.7"
|
gradleVersion = "4.7"
|
||||||
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
|
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
|
||||||
|
Loading…
Reference in New Issue
Block a user