rush-lyrics: 7.2.0 -> 7.5.1 (#589817)

This commit is contained in:
Peder Bergebakken Sundt
2026-11-19 23:04:14 +00:00
committed by GitHub
3 changed files with 1033 additions and 665 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -35,25 +35,19 @@ stdenv.mkDerivation (finalAttrs: {
strictDeps = true;
pname = "rush-lyrics";
version = "7.2.0";
version = "7.5.1";
src = fetchFromGitHub {
owner = "shub39";
repo = "Rush";
tag = finalAttrs.version;
hash = "sha256-pCcf2TmTTiHA/cTy2RD9Y1s7c3TEje7wgPIH5XzmzOg=";
hash = "sha256-nstiiamUqvH7usKo5JCLPDfWGEqUvXnPelqN9NxBFAs=";
};
patches = [
./remove-android.patch
];
postPatch = ''
substituteInPlace desktopApp/build.gradle.kts \
--replace-fail 'implementation(compose.desktop.currentOs)' \
$'implementation(compose.desktop.linux_x64)\n implementation(compose.desktop.linux_arm64)'
'';
nativeBuildInputs = [
gradle_9
makeWrapper

View File

@@ -12,7 +12,7 @@ index 1535716..ccca9fb 100644
-
include(":desktopApp")
diff --git a/shared/core/build.gradle.kts b/shared/core/build.gradle.kts
index 0ecc538..393c4bd 100644
index c937f2f..393c4bd 100644
--- a/shared/core/build.gradle.kts
+++ b/shared/core/build.gradle.kts
@@ -17,7 +17,6 @@
@@ -23,13 +23,15 @@ index 0ecc538..393c4bd 100644
}
kotlin {
@@ -26,13 +25,6 @@ kotlin {
@@ -26,15 +25,6 @@ kotlin {
freeCompilerArgs.add("-Xexpect-actual-classes")
}
- android {
- namespace = "com.shub39.rush.shared.core"
- compileSdk { version = release(libs.versions.compileSdk.get().toInt()) }
- compileSdk {
- version = release(libs.versions.compileSdk.get().toInt()) { minorApiLevel = 2 }
- }
- minSdk { version = release(libs.versions.minSdk.get().toInt()) }
- withHostTest {}
- }
@@ -38,7 +40,7 @@ index 0ecc538..393c4bd 100644
// listOf(iosArm64(), iosSimulatorArm64()).forEach { iosTarget ->
diff --git a/shared/logic/build.gradle.kts b/shared/logic/build.gradle.kts
index e155ad7..91b351e 100644
index 578a81d..91b351e 100644
--- a/shared/logic/build.gradle.kts
+++ b/shared/logic/build.gradle.kts
@@ -19,7 +19,6 @@ import java.util.Properties
@@ -49,13 +51,15 @@ index e155ad7..91b351e 100644
alias(libs.plugins.compose.multiplatform)
alias(libs.plugins.compose.compiler)
alias(libs.plugins.build.config)
@@ -35,15 +34,6 @@ kotlin {
@@ -35,17 +34,6 @@ kotlin {
freeCompilerArgs.add("-Xexpect-actual-classes")
}
- android {
- namespace = "com.shub39.rush.shared.logic"
- compileSdk { version = release(libs.versions.compileSdk.get().toInt()) }
- compileSdk {
- version = release(libs.versions.compileSdk.get().toInt()) { minorApiLevel = 2 }
- }
- minSdk { version = release(libs.versions.minSdk.get().toInt()) }
- withHostTest {}
-
@@ -65,7 +69,7 @@ index e155ad7..91b351e 100644
// listOf(iosArm64(), iosSimulatorArm64()).forEach { iosTarget ->
// iosTarget.binaries.framework {
// baseName = "SharedLogic"
@@ -81,10 +71,6 @@ kotlin {
@@ -83,10 +71,6 @@ kotlin {
// implementation(libs.ktor.client.darwin)
// implementation(libs.androidx.sqlite.bundled)
// }
@@ -76,7 +80,7 @@ index e155ad7..91b351e 100644
jvmMain.dependencies {
implementation(libs.ktor.client.okhttp)
implementation(libs.androidx.sqlite.bundled)
@@ -120,7 +106,6 @@ room3 { schemaDirectory("$projectDir/schemas") }
@@ -122,7 +106,6 @@ room3 { schemaDirectory("$projectDir/schemas") }
dependencies {
add("kspJvm", libs.androidx.room.compiler)
@@ -85,7 +89,7 @@ index e155ad7..91b351e 100644
// add("kspIosArm64", libs.androidx.room.compiler)
}
diff --git a/shared/ui/build.gradle.kts b/shared/ui/build.gradle.kts
index 6b0585a..d9f4811 100644
index 305fa65..d9f4811 100644
--- a/shared/ui/build.gradle.kts
+++ b/shared/ui/build.gradle.kts
@@ -18,7 +18,6 @@
@@ -96,13 +100,15 @@ index 6b0585a..d9f4811 100644
alias(libs.plugins.compose.multiplatform)
alias(libs.plugins.compose.compiler)
alias(libs.plugins.koin.compiler)
@@ -42,13 +41,6 @@ kotlin {
@@ -42,15 +41,6 @@ kotlin {
)
}
- android {
- namespace = "com.shub39.rush.shared.ui"
- compileSdk { version = release(libs.versions.compileSdk.get().toInt()) }
- compileSdk {
- version = release(libs.versions.compileSdk.get().toInt()) { minorApiLevel = 2 }
- }
- minSdk { version = release(libs.versions.minSdk.get().toInt()) }
- androidResources { enable = true }
- }
@@ -110,7 +116,7 @@ index 6b0585a..d9f4811 100644
jvm()
sourceSets {
@@ -81,10 +73,6 @@ kotlin {
@@ -83,10 +73,6 @@ kotlin {
implementation(libs.koin.compose.viewmodel.navigation)
implementation(libs.koin.annotations)
}
@@ -121,7 +127,7 @@ index 6b0585a..d9f4811 100644
commonTest.dependencies {
implementation(kotlin("test"))
implementation(libs.kotlinx.coroutines.test)
@@ -93,12 +81,5 @@ kotlin {
@@ -95,12 +81,5 @@ kotlin {
}
dependencies {