Skip to content

Commit 1d52b72

Browse files
committed
fix: Fix visibility of StateStoreImpl and fix jitpack build
1 parent 6c39f73 commit 1d52b72

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ buildscript {
55
"targetSdk" : 28,
66
"kotlin" : "1.3.31",
77
"agp" : "3.5.0-beta03",
8-
"versionCode": 1,
9-
"versionName": "0.0.1"
8+
"versionCode": 2,
9+
"versionName": "0.0.2"
1010
]
1111

1212
ext.versions = [
@@ -60,6 +60,7 @@ buildscript {
6060
dependencies {
6161
classpath "com.android.tools.build:gradle:${buildConfig.agp}"
6262
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${buildConfig.kotlin}"
63+
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
6364
}
6465
}
6566

vector/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-android-extensions'
4+
apply plugin: 'com.github.dcendents.android-maven'
5+
6+
group = "com.github.haroldadmin"
47

58
android {
69
compileSdkVersion buildConfig.compileSdk
@@ -16,7 +19,7 @@ android {
1619

1720
buildTypes {
1821
release {
19-
minifyEnabled true
22+
minifyEnabled false
2023
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2124
}
2225
}

vector/src/main/java/com/haroldadmin/vector/viewModel/StateStoreImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import java.util.concurrent.Executors
1515
*
1616
* @param initialState The initial state object with which the owning ViewModel was created
1717
*/
18-
class StateStoreImpl<S : VectorState>(
18+
internal class StateStoreImpl<S : VectorState>(
1919
initialState: S
2020
) : StateStore<S> {
2121

0 commit comments

Comments
 (0)