Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Travis Burtrum | e5e1d5adc2 | |
mar-v-in | 2408cfd92a | |
mar-v-in | d7b18b0673 | |
mar-v-in | b49d1095fd |
|
@ -3,17 +3,17 @@ buildscript {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:1.1.3'
|
classpath 'com.android.tools.build:gradle:1.3.1'
|
||||||
|
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
apply from: 'gradle-mvn-push.gradle'
|
apply plugin: 'com.github.dcendents.android-maven'
|
||||||
|
|
||||||
group = 'org.microg'
|
|
||||||
version = '1.1.0'
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 22
|
compileSdkVersion 22
|
||||||
buildToolsVersion "22.0.0"
|
buildToolsVersion "22.0.1"
|
||||||
|
compileOptions {
|
||||||
|
sourceCompatibility JavaVersion.VERSION_1_6
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
GROUP=org.microg
|
GROUP=org.microg
|
||||||
POM_ARTIFACT_ID=safe-parcel
|
POM_ARTIFACT_ID=safe-parcel
|
||||||
VERSION_NAME=1.1.0
|
VERSION_NAME=1.2-SNAPSHOT
|
||||||
|
|
||||||
POM_NAME=µg SafeParcel
|
POM_NAME=µg SafeParcel
|
||||||
POM_DESCRIPTION=Easy-to-use implementation of the "SafeParcel" format used for IPC in Play Services
|
POM_DESCRIPTION=Easy-to-use implementation of the "SafeParcel" format used for IPC in Play Services
|
||||||
|
|
|
@ -55,7 +55,7 @@ public class SafeParcelUtil {
|
||||||
if (object == null)
|
if (object == null)
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
Class clazz = object.getClass();
|
Class clazz = object.getClass();
|
||||||
Map<Integer, Field> fieldMap = new HashMap<>();
|
Map<Integer, Field> fieldMap = new HashMap<Integer, Field>();
|
||||||
while (clazz != null) {
|
while (clazz != null) {
|
||||||
for (Field field : clazz.getDeclaredFields()) {
|
for (Field field : clazz.getDeclaredFields()) {
|
||||||
if (field.isAnnotationPresent(SafeParceled.class)) {
|
if (field.isAnnotationPresent(SafeParceled.class)) {
|
||||||
|
|
Loading…
Reference in New Issue