Skip to content

Commit

Permalink
fix: Fix visibility of StateStoreImpl and fix jitpack build
Browse files Browse the repository at this point in the history
  • Loading branch information
haroldadmin committed Jun 4, 2019
1 parent 6c39f73 commit 1d52b72
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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'
}
}

Expand Down
5 changes: 4 additions & 1 deletion vector/build.gradle
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -16,7 +19,7 @@ android {

buildTypes {
release {
minifyEnabled true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import java.util.concurrent.Executors
*
* @param initialState The initial state object with which the owning ViewModel was created
*/
class StateStoreImpl<S : VectorState>(
internal class StateStoreImpl<S : VectorState>(
initialState: S
) : StateStore<S> {

Expand Down

0 comments on commit 1d52b72

Please sign in to comment.