Local build
#232
Replies: 2 comments 1 reply
-
You can check settings.gradle.kts in Fossify Gallery. You will find an example there on how to include commons locally. Can't help more as I'm not on my computer. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @naveensingh rootProject.name = "Phone"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { setUrl("https://jitpack.io") }
}
}
include(":app")
includeBuild("../Commons") {
dependencySubstitution {
substitute(module("org.fossify:commons")).using(project(":commons"))
}
} Doesn't work though, it looks like it's finding the path while building and I see it build the content, but after a while it fails with that error: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I'm trying to build some of these repositories locally but I'm having a problem with the gradle build.
It runs fine when the dependencies { implementation() } refers to the jitpack commons, but I can't get it to refer to the local version of commons I have previously built.
Can anyone point me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions