Skip to content

Commit e7c1330

Browse files
committed
[#423] Remove build warnings when generating new project
1 parent 0abf70d commit e7c1330

File tree

11 files changed

+15
-13
lines changed

11 files changed

+15
-13
lines changed

template-compose/app/build.gradle.kts

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ val getVersionCode: () -> Int = {
1919
}
2020

2121
android {
22+
namespace = "co.nimblehq.template.compose"
23+
2224
signingConfigs {
2325
create(BuildType.RELEASE) {
2426
// Remember to edit signing.properties to have the correct info for release build.

template-compose/app/src/debug/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="co.nimblehq.template.compose">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<!--For Chucker in debug build only-->
65
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

template-compose/app/src/main/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="co.nimblehq.template.compose">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<uses-permission android:name="android.permission.INTERNET" />
65

template-compose/data/build.gradle.kts

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ plugins {
66
}
77

88
android {
9+
namespace = "co.nimblehq.template.compose.data"
910
compileSdk = Versions.ANDROID_COMPILE_SDK_VERSION
1011
defaultConfig {
1112
minSdk = Versions.ANDROID_MIN_SDK_VERSION
@@ -36,8 +37,8 @@ android {
3637
jvmTarget = JavaVersion.VERSION_11.toString()
3738
}
3839

39-
lintOptions {
40-
isCheckDependencies = true
40+
lint {
41+
checkDependencies = true
4142
xmlReport = true
4243
xmlOutput = file("build/reports/lint/lint-result.xml")
4344
}
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest package="co.nimblehq.template.compose.data" />
2+
<manifest />

template-compose/domain/src/main/java/co/nimblehq/template/compose/domain/repository/AppPreferencesRepository.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ interface AppPreferencesRepository {
66

77
fun getAppPreference(): Flow<Boolean>
88

9-
suspend fun updateAppPreference(appPreferencesValue: Boolean)
9+
suspend fun updateAppPreference(appPreferenceValue: Boolean)
1010
}

template-xml/app/build.gradle.kts

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ plugins {
1313
val keystoreProperties = rootDir.loadGradleProperties("signing.properties")
1414

1515
android {
16+
namespace = "co.nimblehq.template.xml"
17+
1618
signingConfigs {
1719
create(BuildType.RELEASE) {
1820
// Remember to edit signing.properties to have the correct info for release build.

template-xml/app/src/debug/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="co.nimblehq.template.xml">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<!--For Chucker in debug build only-->
65
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

template-xml/app/src/main/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="co.nimblehq.template.xml">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<uses-permission android:name="android.permission.INTERNET" />
65

template-xml/data/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ plugins {
55
}
66

77
android {
8+
namespace = "co.nimblehq.template.xml.data"
89
compileSdk = Versions.ANDROID_COMPILE_SDK_VERSION
910
defaultConfig {
1011
minSdk = Versions.ANDROID_MIN_SDK_VERSION
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest package="co.nimblehq.template.xml.data" />
2+
<manifest />

0 commit comments

Comments
 (0)