Skip to content

Commit df760b7

Browse files
committed
Update samples
1 parent 60b4365 commit df760b7

12 files changed

Lines changed: 25 additions & 10 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<factorypath>
22
<factorypathentry kind="PLUGIN" id="org.eclipse.jst.ws.annotations.core" enabled="true" runInBatchMode="false"/>
3-
<factorypathentry kind="WKSPJAR" id="/HelloWorldEclipse/compile-libs/androidannotations-3.0.jar" enabled="true" runInBatchMode="false"/>
4-
<factorypathentry kind="WKSPJAR" id="/HelloWorldEclipse/libs/androidannotations-api-3.0.jar" enabled="true" runInBatchMode="false"/>
3+
<factorypathentry kind="WKSPJAR" id="/HelloWorldEclipse/compile-libs/androidannotations-3.0.1.jar" enabled="true" runInBatchMode="false"/>
4+
<factorypathentry kind="WKSPJAR" id="/HelloWorldEclipse/libs/androidannotations-api-3.0.1.jar" enabled="true" runInBatchMode="false"/>
55
</factorypath>

examples/HelloWorldEclipse/compile-libs/androidannotations-3.0.jar renamed to examples/HelloWorldEclipse/compile-libs/androidannotations-3.0.1.jar

604 KB
Binary file not shown.

examples/gradle/libs/androidannotations-api-3.0.jar renamed to examples/HelloWorldEclipse/libs/androidannotations-api-3.0.1.jar

66.8 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<factorypath>
22
<factorypathentry kind="PLUGIN" id="org.eclipse.jst.ws.annotations.core" enabled="true" runInBatchMode="false"/>
3-
<factorypathentry kind="WKSPJAR" id="/RoboGuiceExample/compile-libs/androidannotations-3.0.jar" enabled="true" runInBatchMode="false"/>
4-
<factorypathentry kind="WKSPJAR" id="/RoboGuiceExample/libs/androidannotations-api-3.0.jar" enabled="true" runInBatchMode="false"/>
3+
<factorypathentry kind="WKSPJAR" id="/RoboGuiceExample/compile-libs/androidannotations-3.0.1.jar" enabled="true" runInBatchMode="false"/>
4+
<factorypathentry kind="WKSPJAR" id="/RoboGuiceExample/libs/androidannotations-api-3.0.1.jar" enabled="true" runInBatchMode="false"/>
55
</factorypath>

examples/gradle/compile-libs/androidannotations-3.0.jar renamed to examples/RoboGuiceExample/compile-libs/androidannotations-3.0.1.jar

604 KB
Binary file not shown.

examples/HelloWorldEclipse/libs/androidannotations-api-3.0.jar renamed to examples/RoboGuiceExample/libs/androidannotations-api-3.0.1.jar

66.8 KB
Binary file not shown.

examples/gradle/.factorypath

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<factorypath>
22
<factorypathentry kind="PLUGIN" id="org.eclipse.jst.ws.annotations.core" enabled="true" runInBatchMode="false"/>
3-
<factorypathentry kind="WKSPJAR" id="/SampleAAGradle/compile-libs/androidannotations-3.0.jar" enabled="true" runInBatchMode="false"/>
4-
<factorypathentry kind="WKSPJAR" id="/SampleAAGradle/libs/androidannotations-api-3.0.jar" enabled="true" runInBatchMode="false"/>
3+
<factorypathentry kind="WKSPJAR" id="/SampleAAGradle/compile-libs/androidannotations-3.0.1.jar" enabled="true" runInBatchMode="false"/>
4+
<factorypathentry kind="WKSPJAR" id="/SampleAAGradle/libs/androidannotations-api-3.0.1.jar" enabled="true" runInBatchMode="false"/>
55
</factorypath>

examples/gradle/build.gradle

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,32 @@ buildscript {
1212

1313
repositories {
1414
mavenCentral()
15+
mavenLocal()
1516
}
1617

1718
apply plugin: 'android'
1819
apply plugin: 'android-apt'
19-
def AAVersion = '3.0'
20+
def AAVersion = '3.0.1'
2021

2122
dependencies {
2223
apt "org.androidannotations:androidannotations:$AAVersion"
2324
compile "org.androidannotations:androidannotations-api:$AAVersion"
2425
}
2526

27+
apt {
28+
arguments {
29+
androidManifestFile variant.processResources.manifestFile
30+
resourcePackageName 'com.googlecode.androidannotations.gradle'
31+
32+
// If you're using Android NBS flavors you should use the following line instead of hard-coded packageName
33+
// resourcePackageName android.defaultConfig.packageName
34+
35+
// You can set optional annotation processing options here, like these commented options:
36+
// logLevel 'INFO'
37+
// logFile '/var/log/aa.log'
38+
}
39+
}
40+
2641
android {
2742
compileSdkVersion 18
2843
buildToolsVersion "18.0.1"

examples/RoboGuiceExample/compile-libs/androidannotations-3.0.jar renamed to examples/gradle/compile-libs/androidannotations-3.0.1.jar

604 KB
Binary file not shown.

examples/RoboGuiceExample/libs/androidannotations-api-3.0.jar renamed to examples/gradle/libs/androidannotations-api-3.0.1.jar

66.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)