Skip to content

Commit 1cbba17

Browse files
committed
v1.2.2 -> Fix missing imports
1 parent 9a92781 commit 1cbba17

File tree

9 files changed

+15
-11
lines changed

9 files changed

+15
-11
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Prefs Changelog
22
===
33

4+
v1.2.2 (2017-09-15)
5+
---
6+
- Fixed a bug where some imports were missing in the generated code
7+
48
v1.2.1 (2017-08-26)
59
---
610
- Added `setXyz` in addition to `putXyz` methods, to improve Kotlin interop.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Usage
1919
```groovy
2020
dependencies {
2121
/* ... */
22-
annotationProcessor 'org.jraf:prefs-compiler:1.2.1'
23-
compile 'org.jraf:prefs:1.2.1'
22+
annotationProcessor 'org.jraf:prefs-compiler:1.2.2'
23+
implementation 'org.jraf:prefs:1.2.2'
2424
}
2525
```
2626

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
mavenCentral()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.0.0-beta2'
10+
classpath 'com.android.tools.build:gradle:3.0.0-beta5'
1111
classpath 'com.github.ben-manes:gradle-versions-plugin:0.15.0'
1212
}
1313
}

prefs-compiler/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sourceCompatibility = 1.6
55
targetCompatibility = 1.6
66

77
group = 'org.jraf'
8-
version = '1.2.1'
8+
version = '1.2.2'
99

1010
javadoc.failOnError = false
1111

prefs-compiler/src/main/resources/org/jraf/android/prefs/compiler/constants.ftl

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
package ${package};
22

3+
import java.util.Arrays;
4+
import java.util.HashSet;
5+
import java.util.Set;
6+
37
<#if comment??>
48
/**
59
* ${comment?trim}

prefs-compiler/src/main/resources/org/jraf/android/prefs/compiler/editorwrapper.ftl

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package ${package};
22

3-
import java.util.Arrays;
4-
import java.util.HashSet;
53
import java.util.Set;
64

75
import android.content.SharedPreferences;

prefs-compiler/src/main/resources/org/jraf/android/prefs/compiler/prefwrapper.ftl

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package ${package};
22

3-
import java.util.Arrays;
4-
import java.util.HashSet;
53
import java.util.Set;
64

75
import android.annotation.SuppressLint;

prefs/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sourceCompatibility = 1.6
55
targetCompatibility = 1.6
66

77
group = 'org.jraf'
8-
version = '1.2.1'
8+
version = '1.2.2'
99

1010
javadoc.failOnError = false
1111

sample/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android {
99
minSdkVersion 14
1010
targetSdkVersion 26
1111
versionCode 1
12-
versionName '1.2.1'
12+
versionName '1.2.2'
1313
}
1414
buildTypes {
1515
release {
@@ -20,7 +20,7 @@ android {
2020
}
2121

2222
dependencies {
23-
implementation 'com.android.support:support-annotations:26.0.1'
23+
implementation 'com.android.support:support-annotations:26.0.2'
2424

2525
annotationProcessor project(':prefs-compiler')
2626
implementation project(':prefs')

0 commit comments

Comments
 (0)