Error while building with gradle
I'm trying to make a kotlin library and publish that inside jitpack repository. but It fails with a strange exception: Task 'test' not found in root project 'KAr'. while I've defined the test task in my tasks.
tasks {
clean {
rootProject.buildDir
}
test {
useJUnit()
maxHeapSize = "1G"
}
}
the code succeed on my machine. so what is the problem? this is the library link: KAr
-
Does the project build on your machine with the same commands (e.g. ./gradlew install) ? Yes
-
What error are you seeing? Task 'test' not found in root project 'KAr'.
Thank you!
Manually adding the maven plugin fixed that for me.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.