jitpack.io icon indicating copy to clipboard operation
jitpack.io copied to clipboard

Error while building with gradle

Open CompanionDelay opened this issue 5 years ago • 2 comments

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

Link to build log

  • 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!

CompanionDelay avatar Jan 06 '20 21:01 CompanionDelay

Manually adding the maven plugin fixed that for me.

lineargraph avatar May 06 '20 10:05 lineargraph

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jul 31 '22 02:07 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 15 '22 02:08 github-actions[bot]