Skip to content

Commit

Permalink
Add jitpack repository to resolve GitVersioners dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
JcMinarro committed Jul 16, 2024
1 parent a021b12 commit 0f51909
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
14 changes: 5 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,18 @@ buildscript {
}
}

// fetch dagger plugin only
mavenCentral() {
maven {
url "https://jitpack.io"
content {
includeGroup("com.google.dagger")
includeGroup("com.google.dagger.hilt.android")
}
mavenContent {
releasesOnly()
includeModule("com.github.passsy", "gradle-gitVersioner-plugin")
}
}

// fetch plugins from gradle plugin portal (https://plugins.gradle.org)
gradlePluginPortal()

// fetch plugins from gradle maven publication
maven { url "https://plugins.gradle.org/m2/" }
// Fallback for the rest of the dependencies
mavenCentral()
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ object Dependencies {
const val flipper = "com.facebook.flipper:flipper:${Versions.FLIPPER}"
const val flipperNetwork = "com.facebook.flipper:flipper-network-plugin:${Versions.FLIPPER}"
const val flipperLoader = "com.facebook.soloader:soloader:${Versions.FLIPPER_SO_LOADER}"
const val gitversionerPlugin = "com.pascalwelsch.gitversioner:gitversioner:${Versions.GITVERSIONER}"
const val gitversionerPlugin = "com.github.passsy:gradle-gitVersioner-plugin:${Versions.GITVERSIONER}"
const val googleServicesPlugin = "com.google.gms:google-services:${Versions.GOOGLE_SERVICES}"
const val gradleNexusPublishPlugin = "io.github.gradle-nexus:publish-plugin:${Versions.GRADLE_NEXUS_PUBLISH_PLUGIN}"
const val gradleVersionsPlugin = "com.github.ben-manes:gradle-versions-plugin:${Versions.GRADLE_VERSIONS_PLUGIN}"
Expand Down

0 comments on commit 0f51909

Please sign in to comment.