Skip to content

Commit

Permalink
Move gradle-tasks module to bitcoind module
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Sep 13, 2024
1 parent df1129a commit 35e05d7
Show file tree
Hide file tree
Showing 23 changed files with 25 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build-logic/bitcoin-core-binaries/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ gradlePlugin {
}

dependencies {
implementation(project(":gradle-tasks"))
implementation("bitcoind-build-logic:gradle-tasks")
implementation(libs.google.guava)
}
2 changes: 1 addition & 1 deletion build-logic/electrum-binaries/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ gradlePlugin {
}

dependencies {
implementation(project(":gradle-tasks"))
implementation("bitcoind-build-logic:gradle-tasks")
}
2 changes: 1 addition & 1 deletion build-logic/packaging/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ gradlePlugin {
}

dependencies {
implementation(project(":gradle-tasks"))
implementation(project(":commons"))
implementation("bitcoind-build-logic:gradle-tasks")
implementation(libs.commons.codec)
}
5 changes: 4 additions & 1 deletion build-logic/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ dependencyResolutionManagement {
}
}

includeBuild("../wallets/bitcoind/build-logic") {
name = "bitcoind-build-logic"
}

include("commons")
include("bitcoin-core-binaries")
include("desktop-regtest")
include("gradle-tasks")
include("electrum-binaries")
include("packaging")
include("tor-binary")
Expand Down
2 changes: 1 addition & 1 deletion build-logic/tor-binary/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ gradlePlugin {
}

dependencies {
implementation(project(":gradle-tasks"))
implementation("bitcoind-build-logic:gradle-tasks")
}
2 changes: 1 addition & 1 deletion build-logic/webcam-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ gradlePlugin {
}

dependencies {
implementation(project(":gradle-tasks"))
implementation("bitcoind-build-logic:gradle-tasks")
}
File renamed without changes.
1 change: 1 addition & 0 deletions wallets/bitcoind/build-logic/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.caching=true
11 changes: 11 additions & 0 deletions wallets/bitcoind/build-logic/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("../../../gradle/libs.versions.toml"))
}
}
}

include("gradle-tasks")

rootProject.name = "bitcoind-build-logic"
5 changes: 4 additions & 1 deletion wallets/bitcoind/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ pluginManagement {
repositories {
gradlePluginPortal()
}
includeBuild("../../build-logic")
includeBuild("build-logic")
includeBuild("../../build-logic") {
name = "root-build-logic"
}
}

dependencyResolutionManagement {
Expand Down

0 comments on commit 35e05d7

Please sign in to comment.