Skip to content

Commit

Permalink
Update for 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavio Veizi committed May 31, 2020
1 parent a7ea019 commit a89d087
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ The `Stateful` annotation has a `type` argument, with a default value of `Statef
What that means is that upon performing a rollback, the previous instance before the current one
is accessed, diffing is performed with the current and the previous instance and the previous
instance becomes the current.
- The `LINKED_LIST` type holds a linked list cache allows rolling both back and forth.

### Installation
#### Configure your project to consume GitHub packages.
Expand All @@ -108,8 +109,8 @@ allprojects {

```groovy
dependencies {
implementation 'dev.fanie:stateful:0.1.8'
kapt 'dev.fanie:stateful-compiler:0.1.8'
implementation 'dev.fanie:stateful:0.2.0'
kapt 'dev.fanie:stateful-compiler:0.2.0'
}
```

Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ dependencies {

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${stateful.dependencies.KOTLIN}"
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.core:core-ktx:1.2.0'
implementation 'androidx.core:core-ktx:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation('dev.fanie:stateful:0.1.8')
kapt 'dev.fanie:stateful-compiler:0.1.8'
implementation('dev.fanie:stateful:0.2.0')
kapt 'dev.fanie:stateful-compiler:0.2.0'
testImplementation "junit:junit:${stateful.dependencies.JUNIT}"
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
ext {
stateful = [
GROUP_ID : 'dev.fanie',
BUILD : 13,
VERSION : '0.1.8',
BUILD : 14,
VERSION : '0.2.0',
github : [
ID : githubProperties['gpr.usr'],
KEY: githubProperties['gpr.key']
Expand Down

0 comments on commit a89d087

Please sign in to comment.