Skip to content

Commit 39dc1c1

Browse files
authored
Define Android namespace via Gradle (#434)
1 parent bc35ee9 commit 39dc1c1

4 files changed

Lines changed: 4 additions & 7 deletions

File tree

core/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ android {
135135
compileSdk = libs.versions.android.compile.get().toInt()
136136
defaultConfig.minSdk = libs.versions.android.min.get().toInt()
137137

138+
namespace = "com.juul.kable"
139+
138140
lint {
139141
abortOnError = true
140142
warningsAsErrors = true

core/src/androidMain/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest
3-
package="com.juul.kable"
43
xmlns:android="http://schemas.android.com/apk/res/android"
54
xmlns:tools="http://schemas.android.com/tools"
65
>

log-engine-tuulbox/build.gradle.kts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ android {
3535
compileSdk = libs.versions.android.compile.get().toInt()
3636
defaultConfig.minSdk = libs.versions.android.min.get().toInt()
3737

38+
namespace = "com.juul.kable"
39+
3840
lint {
3941
abortOnError = true
4042
warningsAsErrors = true
@@ -46,8 +48,4 @@ android {
4648
sourceCompatibility = JavaVersion.VERSION_11
4749
targetCompatibility = JavaVersion.VERSION_11
4850
}
49-
50-
sourceSets {
51-
getByName("main").manifest.srcFile("src/androidMain/AndroidManifest.xml")
52-
}
5351
}

log-engine-tuulbox/src/androidMain/AndroidManifest.xml

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

0 commit comments

Comments
 (0)