Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit 7667336

Browse files
greyson-signalcody-signal
authored andcommitted
Converted all minor modules to .gradle.kts.
1 parent d77744c commit 7667336

36 files changed

+312
-311
lines changed

core-ui/build.gradle

Lines changed: 0 additions & 26 deletions
This file was deleted.

core-ui/build.gradle.kts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
plugins {
2+
id("signal-library")
3+
}
4+
5+
android {
6+
namespace = "org.signal.core.ui"
7+
8+
buildFeatures {
9+
compose = true
10+
}
11+
12+
composeOptions {
13+
kotlinCompilerExtensionVersion = "1.4.4"
14+
}
15+
}
16+
17+
dependencies {
18+
lintChecks(project(":lintchecks"))
19+
20+
platform(libs.androidx.compose.bom).let { composeBom ->
21+
api(composeBom)
22+
androidTestApi(composeBom)
23+
}
24+
25+
api(libs.androidx.compose.material3)
26+
api(libs.androidx.compose.ui.tooling.preview)
27+
debugApi(libs.androidx.compose.ui.tooling.core)
28+
}

core-util/build.gradle

Lines changed: 0 additions & 29 deletions
This file was deleted.

core-util/build.gradle.kts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
plugins {
2+
id("signal-library")
3+
id("kotlin-kapt")
4+
id("com.squareup.wire")
5+
}
6+
7+
android {
8+
namespace = "org.signal.core.util"
9+
}
10+
11+
dependencies {
12+
api(project(":core-util-jvm"))
13+
14+
implementation(libs.androidx.sqlite)
15+
16+
testImplementation(testLibs.junit.junit)
17+
testImplementation(testLibs.mockito.core)
18+
testImplementation(testLibs.robolectric.robolectric)
19+
}
20+
21+
wire {
22+
kotlin {
23+
javaInterop = true
24+
}
25+
26+
sourcePath {
27+
srcDir("src/main/protowire")
28+
}
29+
}

device-transfer/app/build.gradle

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
plugins {
2+
id("signal-sample-app")
3+
}
4+
5+
android {
6+
namespace = "org.signal.devicetransfer.app"
7+
8+
defaultConfig {
9+
applicationId = "org.signal.devicetransfer.app"
10+
11+
ndk {
12+
abiFilters += setOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
13+
}
14+
15+
buildConfigField("String", "LIBSIGNAL_VERSION", "\"libsignal ${libs.versions.libsignal.client.get()}\"")
16+
}
17+
}
18+
19+
dependencies {
20+
implementation(project(":device-transfer"))
21+
}

device-transfer/lib/build.gradle

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
plugins {
2+
id("signal-library")
3+
}
4+
5+
android {
6+
namespace = "org.signal.devicetransfer"
7+
}
8+
9+
dependencies {
10+
implementation(project(":core-util"))
11+
implementation(libs.libsignal.android)
12+
api(libs.greenrobot.eventbus)
13+
14+
testImplementation(testLibs.robolectric.robolectric) {
15+
exclude(group = "com.google.protobuf", module = "protobuf-java")
16+
}
17+
testImplementation(testLibs.robolectric.shadows.multidex)
18+
testImplementation(testLibs.hamcrest.hamcrest)
19+
20+
testImplementation(testFixtures(project(":libsignal-service")))
21+
}

donations/app/build.gradle

Lines changed: 0 additions & 17 deletions
This file was deleted.

donations/app/build.gradle.kts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
plugins {
2+
id("signal-sample-app")
3+
id("kotlin-kapt")
4+
}
5+
6+
android {
7+
namespace = "org.signal.donations.app"
8+
9+
defaultConfig {
10+
applicationId = "org.signal.donations.app"
11+
}
12+
}
13+
14+
dependencies {
15+
implementation(project(":donations"))
16+
implementation(project(":core-util"))
17+
}

0 commit comments

Comments
 (0)