File tree Expand file tree Collapse file tree 5 files changed +19
-11
lines changed
src/main/android/permissions/dispatcher
permissionsdispatcher-sample Expand file tree Collapse file tree 5 files changed +19
-11
lines changed Original file line number Diff line number Diff line change
1
+ # ChangeLog
2
+
3
+ - 0.9.0 2015/08/18
4
+ - Prepare for preview 3(final release).
5
+
6
+
Original file line number Diff line number Diff line change 1
1
USER = hotchemi
2
2
GROUP_ID = com.github.hotchemi
3
- ARTIFACT_ID_CORE = ' permissionsdispatcher'
4
- ARTIFACT_ID_PROCESSOR = ' permissionsdispatcher-processor'
5
- VERSION = 0.5 .0
3
+ ARTIFACT_ID_CORE = permissionsdispatcher
4
+ ARTIFACT_ID_PROCESSOR = permissionsdispatcher-processor
5
+ VERSION = 0.9 .0
6
6
DESCRIPTION = Annotation-based library for generating runtime permissions dispatcher.
7
7
WEBSITE = https://github.com/hotchemi/PermissionsDispatcher
8
8
LICENCES = [' Apache-2.0' ]
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ apply plugin: 'com.android.application'
3
3
apply plugin : ' android-apt'
4
4
5
5
android {
6
- compileSdkVersion " android-MNC "
6
+ compileSdkVersion 23
7
7
buildToolsVersion " 22.0.1"
8
8
9
9
defaultConfig {
10
10
applicationId " permissions.dispatcher.sample"
11
- minSdkVersion " MNC "
12
- targetSdkVersion " MNC "
11
+ minSdkVersion 23
12
+ targetSdkVersion 23
13
13
versionCode 1
14
14
versionName " 1.0"
15
15
}
@@ -21,6 +21,7 @@ android {
21
21
}
22
22
23
23
dependencies {
24
+ // noinspection GradleCompatible
24
25
compile ' com.android.support:appcompat-v7:22.2.1'
25
26
compile project(' :permissionsdispatcher' )
26
27
apt project(' :permissionsdispatcher-processor' )
Original file line number Diff line number Diff line change @@ -3,9 +3,12 @@ apply plugin: 'com.android.library'
3
3
apply plugin : ' com.novoda.bintray-release'
4
4
5
5
android {
6
- compileSdkVersion " android-MNC "
6
+ compileSdkVersion 23
7
7
buildToolsVersion " 22.0.1"
8
-
8
+ defaultConfig {
9
+ minSdkVersion 4
10
+ targetSdkVersion 23
11
+ }
9
12
compileOptions {
10
13
sourceCompatibility JavaVersion . VERSION_1_7
11
14
targetCompatibility JavaVersion . VERSION_1_7
Original file line number Diff line number Diff line change @@ -51,9 +51,7 @@ private static boolean isNotMNC() {
51
51
}
52
52
53
53
private static boolean isMNC () {
54
- // TODO: Once the API has been finalised, the following code should be used:
55
- // return Build.VERSION.SDK_INT == Build.VERSION_CODES.MNC
56
- return "MNC" .equals (Build .VERSION .CODENAME );
54
+ return Build .VERSION .SDK_INT == Build .VERSION_CODES .M ;
57
55
}
58
56
59
57
}
You can’t perform that action at this time.
0 commit comments