Stephan Schroeder
02/04/2021, 8:45 AMrepositories {
maven(url = "<https://jitpack.io>")
}
dependencies {
implementation("com.github.User:Repo:Tag")
}
to my gradle-build file, in my case that's
repositories {
maven(url = "<https://jitpack.io>")
}
dependencies {
implementation("simon-void:ksv4ever:1.1.3")
}
So I've done just that, but the lib is simply not present/correctly imported. What am I missing??
Does Jippack have a requirement of an pom.xml being presen? (The intro doesn't mention it.)
Version 1.1.3 is actually configured to produce a pom.xml file (see https://github.com/simon-void/ksv4ever/blob/master/build.gradle.kts) but for some reason doesn't.Vampire
02/04/2021, 11:00 AM./gradlew clean -Pgroup=com.github.simon-void -Pversion=1.1.3 -xtest build publishToMavenLocal
and in the end detects net.simonvoid:ksv4ever:1.1.3
found as artifact.
I think it depends on the group and version being taken from the properties, so if you don't define the group and version in your build script and thus ignoring the project properties, but instead set it in your gradle.properties
file I guess it will rcognize the built artifacts.Vampire
02/04/2021, 11:00 AMVampire
02/04/2021, 11:01 AMVampire
02/04/2021, 11:03 AMVampire
02/04/2021, 11:03 AMimplementation("com.github.simon-void:ksv4ever:1.1.3")
as you mentioned 😉Stephan Schroeder
02/05/2021, 9:41 AMStephan Schroeder
02/05/2021, 9:44 AMVampire
02/05/2021, 9:55 AMVampire
02/05/2021, 9:56 AM