diff --git a/build.gradle b/build.gradle index a0ee514..cb283f6 100644 --- a/build.gradle +++ b/build.gradle @@ -5,8 +5,8 @@ buildscript { "targetSdk" : 28, "kotlin" : "1.3.31", "agp" : "3.5.0-beta03", - "versionCode": 1, - "versionName": "0.0.1" + "versionCode": 2, + "versionName": "0.0.2" ] ext.versions = [ @@ -60,6 +60,7 @@ buildscript { dependencies { classpath "com.android.tools.build:gradle:${buildConfig.agp}" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${buildConfig.kotlin}" + classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' } } diff --git a/vector/build.gradle b/vector/build.gradle index 0e9efc5..2d0bcb7 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -1,6 +1,9 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' +apply plugin: 'com.github.dcendents.android-maven' + +group = "com.github.haroldadmin" android { compileSdkVersion buildConfig.compileSdk @@ -16,7 +19,7 @@ android { buildTypes { release { - minifyEnabled true + minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } diff --git a/vector/src/main/java/com/haroldadmin/vector/viewModel/StateStoreImpl.kt b/vector/src/main/java/com/haroldadmin/vector/viewModel/StateStoreImpl.kt index d246a93..562a284 100644 --- a/vector/src/main/java/com/haroldadmin/vector/viewModel/StateStoreImpl.kt +++ b/vector/src/main/java/com/haroldadmin/vector/viewModel/StateStoreImpl.kt @@ -15,7 +15,7 @@ import java.util.concurrent.Executors * * @param initialState The initial state object with which the owning ViewModel was created */ -class StateStoreImpl( +internal class StateStoreImpl( initialState: S ) : StateStore {