Skip to content

Commit c3427cc

Browse files
committed
RoboGuiceExample now is a Gradle project
1 parent f387fa4 commit c3427cc

29 files changed

Lines changed: 332 additions & 107 deletions

examples/RoboGuiceExample/.classpath

Lines changed: 0 additions & 14 deletions
This file was deleted.

examples/RoboGuiceExample/.factorypath

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
# Maven
2-
target
3-
4-
#Android
5-
gen
6-
bin
7-
8-
# Eclipse
9-
.classpath
10-
.apt_generated
11-
.settings
12-
.project
13-
org.eclipse.jdt.core.prefs
14-
org.maven.ide.eclipse.prefs
15-
16-
# Idea
17-
*.ipr
18-
*.iws
191
*.iml
202
*.idea
3+
.gradle
4+
local.properties
5+
build

examples/RoboGuiceExample/.project

Lines changed: 0 additions & 33 deletions
This file was deleted.

examples/RoboGuiceExample/.settings/org.eclipse.jdt.apt.core.prefs

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/RoboGuiceExample/.settings/org.eclipse.jdt.core.prefs

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
}
5+
dependencies {
6+
// replace with the current version of the Android plugin
7+
classpath 'com.android.tools.build:gradle:1.2.2'
8+
// the latest version of the android-apt plugin
9+
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
10+
}
11+
}
12+
13+
repositories {
14+
mavenCentral()
15+
mavenLocal()
16+
}
17+
18+
apply plugin: 'com.android.application'
19+
apply plugin: 'android-apt'
20+
def AAVersion = '3.3-SNAPSHOT' // change this to your desired version, for example the latest stable: 3.2
21+
22+
dependencies {
23+
apt "org.androidannotations:androidannotations:$AAVersion"
24+
compile "org.androidannotations:androidannotations-api:$AAVersion"
25+
compile 'org.roboguice:roboguice:3.0.1'
26+
// apt 'org.roboguice:roboblender:3.0.1'
27+
// RoboBlender does not work with android-apt currently, so unfortunately we have to turn it off
28+
}
29+
30+
apt {
31+
arguments {
32+
androidManifestFile variant.outputs[0].processResources.manifestFile
33+
}
34+
}
35+
36+
android {
37+
compileSdkVersion 22
38+
buildToolsVersion "22.0.1"
39+
40+
defaultConfig {
41+
minSdkVersion 9
42+
targetSdkVersion 22
43+
}
44+
45+
lintOptions {
46+
abortOnError false
47+
// see https://github.com/roboguice/roboguice/issues/295
48+
}
49+
50+
}
Binary file not shown.
49.8 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Tue Dec 09 11:11:25 CET 2014
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-bin.zip

0 commit comments

Comments
 (0)