Skip to content

Commit e3d4a54

Browse files
committed
temporarily change package of the annotations to:
package com.quarkworks.android.realmtypesafequery.annotations; removed packaging options in the example added the compile and provided dependencies to example. remove compile dependency to query.
1 parent d4df291 commit e3d4a54

File tree

6 files changed

+12
-9
lines changed

6 files changed

+12
-9
lines changed

annotationprocessor/src/main/java/com/quarkworks/android/realmtypesafequery/AnnotationProcessor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.quarkworks.android.realmtypesafequery;
22

3-
import com.quarkworks.android.realmtypesafequery.annotations.GenerateRealmStringFields;
4-
import com.quarkworks.android.realmtypesafequery.annotations.GenerateRealmFields;
3+
import com.quarkworks.android.realmtypesafequeryexample.annotations.GenerateRealmFields;
4+
import com.quarkworks.android.realmtypesafequeryexample.annotations.GenerateRealmStringFields;
55
import com.squareup.javapoet.CodeBlock;
66
import com.squareup.javapoet.FieldSpec;
77
import com.squareup.javapoet.JavaFile;

annotations/src/main/java/com/quarkworks/android/realmtypesafequeryexample/annotations/GenerateRealmFields.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.quarkworks.android.realmtypesafequery.annotations;
1+
package com.quarkworks.android.realmtypesafequeryexample.annotations;
22

33
import java.lang.annotation.ElementType;
44
import java.lang.annotation.Retention;

annotations/src/main/java/com/quarkworks/android/realmtypesafequeryexample/annotations/GenerateRealmStringFields.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.quarkworks.android.realmtypesafequery.annotations;
1+
package com.quarkworks.android.realmtypesafequeryexample.annotations;
22

33
import java.lang.annotation.ElementType;
44
import java.lang.annotation.Retention;

example/build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@ android {
1919
}
2020
}
2121

22-
packagingOptions {
23-
exclude 'META-INF/services/javax.annotation.processing.Processor'
24-
}
22+
// packagingOptions {
23+
// exclude 'META-INF/services/javax.annotation.processing.Processor'
24+
// }
2525
}
2626

2727
dependencies {
2828
compile fileTree(dir: 'libs', include: ['*.jar'])
2929
testCompile 'junit:junit:4.12'
3030
compile 'com.android.support:appcompat-v7:24.1.1'
3131
compile project(':query')
32+
compile project(':annotations')
33+
provided project(':annotationprocessor')
3234
}

example/src/main/java/com/quarkworks/android/realmtypesafequeryexample/TestRecord.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.quarkworks.android.realmtypesafequeryexample;
22

3-
import com.quarkworks.android.realmtypesafequery.annotations.GenerateRealmStringFields;
3+
4+
import com.quarkworks.android.realmtypesafequeryexample.annotations.GenerateRealmStringFields;
45

56
import java.util.Date;
67

query/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ android {
2525
dependencies {
2626
compile fileTree(dir: 'libs', include: ['*.jar'])
2727
testCompile 'junit:junit:4.12'
28-
compile project(':annotationprocessor')
28+
2929
compile 'com.android.support:support-annotations:24.1.1'
3030
}

0 commit comments

Comments
 (0)