mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 16:27:06 +05:30
refactor: start consuming whetstone through Sonatype snapshots repository
It was much easier to set up automatic publishing than to constantly debug weird build errors from included builds
This commit is contained in:
parent
2a65dc4a9e
commit
5a4643dc57
2 changed files with 10 additions and 29 deletions
|
@ -6,8 +6,6 @@
|
|||
*/
|
||||
@file:Suppress("UnstableApiUsage")
|
||||
|
||||
import me.champeau.gradle.igp.gitRepositories
|
||||
|
||||
pluginManagement {
|
||||
repositories {
|
||||
exclusiveContent {
|
||||
|
@ -43,38 +41,17 @@ pluginManagement {
|
|||
includeModule("gradle.plugin.org.gradle.android", "android-cache-fix-gradle-plugin")
|
||||
includeModule("com.sergei-lapin.napt", "com.sergei-lapin.napt.gradle.plugin")
|
||||
includeModule("com.sergei-lapin.napt", "gradle")
|
||||
includeModule("me.champeau.includegit", "me.champeau.includegit.gradle.plugin")
|
||||
includeModule("me.champeau.gradle.includegit", "plugin")
|
||||
}
|
||||
}
|
||||
exclusiveContent {
|
||||
forRepository { maven("https://oss.sonatype.org/content/repositories/snapshots/") }
|
||||
filter { includeGroup("dev.msfjarvis.whetstone") }
|
||||
}
|
||||
includeBuild("build-logic")
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
||||
plugins { id("me.champeau.includegit") version "0.1.5" }
|
||||
|
||||
gitRepositories {
|
||||
checkoutsDirectory.set(rootProject.projectDir.resolve("build/checkouts"))
|
||||
include("whetstone") {
|
||||
uri.set("https://github.com/msfjarvis/whetstone")
|
||||
tag.set("msfjarvis-2022-11-29")
|
||||
includeBuild {
|
||||
dependencySubstitution {
|
||||
for (module in
|
||||
listOf(
|
||||
"whetstone",
|
||||
"whetstone-compiler",
|
||||
"whetstone-compose",
|
||||
"whetstone-worker",
|
||||
)) {
|
||||
substitute(module("com.deliveryhero.whetstone:$module")).using(project(":$module"))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
|
@ -155,6 +132,10 @@ dependencyResolutionManagement {
|
|||
includeModule("gradle.plugin.org.gradle.android", "android-cache-fix-gradle-plugin")
|
||||
}
|
||||
}
|
||||
exclusiveContent {
|
||||
forRepository { maven("https://oss.sonatype.org/content/repositories/snapshots/") }
|
||||
filter { includeGroup("dev.msfjarvis.whetstone") }
|
||||
}
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue