File tree 6 files changed +10
-10
lines changed
java/co/nimblehq/template/compose/data/repository
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ val getVersionCode: () -> Int = {
19
19
}
20
20
21
21
android {
22
+ namespace = " co.nimblehq.template.compose"
23
+
22
24
signingConfigs {
23
25
create(BuildType .RELEASE ) {
24
26
// Remember to edit signing.properties to have the correct info for release build.
Original file line number Diff line number Diff line change 1
1
<?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" >
4
3
5
4
<!-- For Chucker in debug build only-->
6
5
<uses-permission android : name =" android.permission.POST_NOTIFICATIONS" />
Original file line number Diff line number Diff line change 1
1
<?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" >
4
3
5
4
<uses-permission android : name =" android.permission.INTERNET" />
6
5
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ plugins {
6
6
}
7
7
8
8
android {
9
+ namespace = " co.nimblehq.template.compose.data"
9
10
compileSdk = Versions .ANDROID_COMPILE_SDK_VERSION
10
11
defaultConfig {
11
12
minSdk = Versions .ANDROID_MIN_SDK_VERSION
12
- targetSdk = Versions .ANDROID_TARGET_SDK_VERSION
13
13
14
14
consumerProguardFiles(" consumer-rules.pro" )
15
15
}
@@ -36,8 +36,8 @@ android {
36
36
jvmTarget = JavaVersion .VERSION_11 .toString()
37
37
}
38
38
39
- lintOptions {
40
- isCheckDependencies = true
39
+ lint {
40
+ checkDependencies = true
41
41
xmlReport = true
42
42
xmlOutput = file(" build/reports/lint/lint-result.xml" )
43
43
}
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <manifest package = " co.nimblehq.template.compose.data " />
2
+ <manifest />
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ class AppPreferencesRepositoryImpl @Inject constructor(
32
32
preferences[PreferencesKeys .APP_PREFERENCE ] ? : true
33
33
}
34
34
35
- override suspend fun updateAppPreference (appPreferenceValue : Boolean ) {
35
+ override suspend fun updateAppPreference (appPreferencesValue : Boolean ) {
36
36
appPreferencesDataStore.edit { preferences ->
37
- preferences[PreferencesKeys .APP_PREFERENCE ] = appPreferenceValue
37
+ preferences[PreferencesKeys .APP_PREFERENCE ] = appPreferencesValue
38
38
}
39
39
}
40
40
}
You can’t perform that action at this time.
0 commit comments