jean
09/15/2020, 7:59 PMallprojects {
repositories {
google()
jcenter()
maven {
name = "GitHubPackages"
url = uri("<https://maven.pkg.github.com/beiningbogen/statemachine>")
credentials {
username = project.extra["gpr.user"].toString()
password = project.extra["gpr.key"].toString()
}
}
}
}
...
dependencies {
implementation("no.beiningbogen.StateMachine-jvm:statemachine-jvm:0.1.1")
}
but I keep getting Failed to resolve: no.beiningbogen.StateMachine-jvm:statemachine-jvm:0.1.1
Is there a specific thing I need to do with the kotlin dsl to be able to use Maven Pom style dependencies?gildor
09/16/2020, 3:11 AMFailed to resolveShow full error message with resolution, it may have some additional information
jean
09/16/2020, 5:36 AMgradle build
gives :
* What went wrong:
Could not determine the dependencies of task ':app:compileStagingJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:stagingCompileClasspath'.
> Could not find no.beiningbogen.StateMachine-jvm:statemachine-jvm:0.1.1.
Required by:
project :app
gradle build --stacktrace
gives :
org.gradle.api.internal.tasks.TaskDependencyResolveException: Could not determine the dependencies of task ':app:compileStagingJavaWithJavac'.
at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.getDependencies(CachingTaskDependencyResolveContext.java:69)
...
...
...
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all task dependencies for configuration ':app:stagingCompileClasspath'.
...
...
...
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find no.beiningbogen.StateMachine-jvm:statemachine-jvm:0.1.1.
Required by:
project :app
gildor
09/16/2020, 6:04 AM$ ./gradlew test
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':legacy:compileReleaseKotlin'.
> Could not resolve all files for configuration ':legacy:releaseRuntimeClasspath'.
> Could not find no.beiningbogen.StateMachine-jvm:statemachine-jvm:0.1.1.
Searched in the following locations:
- <https://dl.google.com/dl/android/maven2/no/beiningbogen/StateMachine-jvm/statemachine-jvm/0.1.1/statemachine-jvm-0.1.1.pom>
- <https://jcenter.bintray.com/no/beiningbogen/StateMachine-jvm/statemachine-jvm/0.1.1/statemachine-jvm-0.1.1.pom>
Required by:
project :legacy
jean
09/16/2020, 7:04 AMbuild.gradle.kts
gildor
09/16/2020, 7:30 AMjean
09/16/2020, 7:32 AMgildor
09/16/2020, 7:35 AMjean
09/16/2020, 8:13 AM