Skip to content

Commit

Permalink
build: Declare repositories in settings file
Browse files Browse the repository at this point in the history
  • Loading branch information
osipxd committed Oct 6, 2022
1 parent 4ee0e94 commit 35da6a9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
4 changes: 0 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ plugins {
id("com.redmadrobot.version-catalog-extensions") version "0.1" apply false
}

repositories {
mavenCentral()
}

redmadrobot {
publishing {
signArtifacts.set(true)
Expand Down
11 changes: 11 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ pluginManagement {
}
}

@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
google()
gradlePluginPortal()
maven("https://jitpack.io")
}
}

rootProject.name = "versions"

includeBuild("version-catalog-extensions")
Expand Down
6 changes: 0 additions & 6 deletions versions-redmadrobot/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
import com.redmadrobot.build.dsl.jitpack

description = "Version catalog with red_mad_robot libraries"

repositories {
jitpack()
}
6 changes: 0 additions & 6 deletions versions-stack/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
import com.redmadrobot.build.dsl.jitpack

description = "Version catalog with dependencies used in red_mad_robot"

repositories {
jitpack()
}

0 comments on commit 35da6a9

Please sign in to comment.