Skip to content

Commit f08c398

Browse files
committed
build: kotlin 1.7.20, migrate to namespace instead of manifest package
1 parent 855076f commit f08c398

File tree

20 files changed

+30
-25
lines changed

20 files changed

+30
-25
lines changed

.idea/codeStyles/Project.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ plugins {
55
}
66

77
android {
8+
namespace = "com.hoc.flowmvi"
89
compileSdk = appConfig.compileSdkVersion
910
buildToolsVersion = appConfig.buildToolsVersion
1011

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools"
4-
package="com.hoc.flowmvi">
3+
xmlns:tools="http://schemas.android.com/tools">
54

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

buildSrc/src/main/kotlin/deps.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import org.gradle.plugin.use.PluginDependenciesSpec
77
import org.gradle.plugin.use.PluginDependencySpec
88

99
const val ktlintVersion = "0.46.1"
10-
const val kotlinVersion = "1.7.10"
10+
const val kotlinVersion = "1.7.20"
1111

1212
object appConfig {
1313
const val applicationId = "com.hoc.flowmvi"
@@ -71,11 +71,11 @@ object deps {
7171

7272
const val coil = "io.coil-kt:coil:2.1.0"
7373
const val viewBindingDelegate = "com.github.hoc081098:ViewBindingDelegate:1.4.0"
74-
const val flowExt = "io.github.hoc081098:FlowExt:0.5.0-SNAPSHOT"
74+
const val flowExt = "io.github.hoc081098:FlowExt:0.5.0"
7575
const val timber = "com.jakewharton.timber:timber:5.0.1"
7676

7777
object arrow {
78-
private const val version = "1.1.2"
78+
private const val version = "1.1.3"
7979
const val core = "io.arrow-kt:arrow-core:$version"
8080
}
8181

core-ui/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ plugins {
44
}
55

66
android {
7+
namespace = "com.hoc.flowmvi.core_ui"
78
compileSdk = appConfig.compileSdkVersion
89
buildToolsVersion = appConfig.buildToolsVersion
910

core-ui/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
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="com.hoc.flowmvi.core_ui">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<application>
65

data/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ plugins {
55
}
66

77
android {
8+
namespace = "com.hoc.flowmvi.data"
89
compileSdk = appConfig.compileSdkVersion
910
buildToolsVersion = appConfig.buildToolsVersion
1011

data/src/main/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest package="com.hoc.flowmvi.data">
3-
4-
</manifest>
2+
<manifest />

feature-add/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ plugins {
55
}
66

77
android {
8+
namespace = "com.hoc.flowmvi.ui.add"
89
compileSdk = appConfig.compileSdkVersion
910
buildToolsVersion = appConfig.buildToolsVersion
1011

feature-add/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
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="com.hoc.flowmvi.ui.add">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<application>
65

feature-main/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ plugins {
44
}
55

66
android {
7+
namespace = "com.hoc.flowmvi.ui.main"
78
compileSdk = appConfig.compileSdkVersion
89
buildToolsVersion = appConfig.buildToolsVersion
910

feature-main/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
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="com.hoc.flowmvi.ui.main">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<application>
65

feature-search/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ plugins {
55
}
66

77
android {
8+
namespace = "com.hoc.flowmvi.ui.search"
89
compileSdk = appConfig.compileSdkVersion
910
buildToolsVersion = appConfig.buildToolsVersion
1011

feature-search/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
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="com.hoc.flowmvi.ui.search">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<application>
65
<activity

mvi/mvi-base/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ plugins {
44
}
55

66
android {
7+
namespace = "com.hoc.flowmvi.mvi_base"
78
compileSdk = appConfig.compileSdkVersion
89
buildToolsVersion = appConfig.buildToolsVersion
910

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest package="com.hoc.flowmvi.mvi_base">
3-
4-
</manifest>
2+
<manifest />

mvi/mvi-testing/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ plugins {
44
}
55

66
android {
7+
namespace = "com.hoc.flowmvi.mvi_testing"
78
compileSdk = appConfig.compileSdkVersion
89
buildToolsVersion = appConfig.buildToolsVersion
910

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest package="com.hoc.flowmvi.mvi_testing">
3-
4-
</manifest>
2+
<manifest />

mvi/mvi-testing/src/main/java/com/hoc/flowmvi/mvi_testing/BaseMviViewModelTest.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,12 @@ infix fun <T, B> MockKStubScope<T, B>.returnsManyWithDelay(values: List<T>) {
6363

6464
@ExperimentalTime
6565
@ExperimentalCoroutinesApi
66-
abstract class BaseMviViewModelTest<I : MviIntent,
66+
abstract class BaseMviViewModelTest<
67+
I : MviIntent,
6768
S : MviViewState,
6869
E : MviSingleEvent,
69-
VM : MviViewModel<I, S, E>,> {
70+
VM : MviViewModel<I, S, E>,
71+
> {
7072
@get:Rule
7173
val coroutineRule = TestCoroutineDispatcherRule(
7274
testDispatcher = UnconfinedTestDispatcher(

0 commit comments

Comments
 (0)