Note that there are some explanatory texts on larger screens.

plurals
  1. POAdapt AndroidAnnotations Maven settings to Gradle
    primarykey
    data
    text
    <p>Is it possible to adapt AndroidAnnotations Maven setup into Gradle? <a href="http://code.google.com/p/androidannotations/wiki/MavenEclipse" rel="nofollow">http://code.google.com/p/androidannotations/wiki/MavenEclipse</a> I can't seem to make it work I keep getting <code>com.sun.codemodel#codemodel;2.5-FROZEN-AA: not found</code></p> <p>So far I have this</p> <pre><code>description = "App" abbreviation = "App" version = '1.0.0.BUILD-SNAPSHOT' buildscript { repositories { mavenRepo name: 'gradle-android-plugin', urls: 'http://jvoegele.com/maven2/' mavenRepo name: 'androidannotations', urls: 'http://repository.excilys.com/content/repositories/releases/' } def gradleAndroidPluginVersion = '1.0.0' dependencies { classpath "com.jvoegele.gradle.plugins:android-plugin:$gradleAndroidPluginVersion" } } apply plugin: 'android' apply plugin: 'eclipse' apply plugin: 'idea' def compatibilityVersion = 1.6 sourceCompatability = compatibilityVersion targetCompatibility = compatibilityVersion repositories { mavenCentral() mavenRepo urls: 'http://maven.springframework.org/snapshot' mavenRepo urls: 'http://maven.springframework.org/milestone' } def roboguiceVersion = '1.1.1' def guiceVersion = '2.0-no_aop' def springAndroidVersion = '1.0.0.M4' def commonsHttpClientVersion = '3.1' def jacksonMapperVersion = '1.8.5' def androidAnnotationsVersion = '2.1' dependencies { compile "org.roboguice:roboguice:$roboguiceVersion" compile "com.google.inject:guice:$guiceVersion" compile "org.springframework.android:spring-android-rest-template:$springAndroidVersion" compile "commons-httpclient:commons-httpclient:$commonsHttpClientVersion" compile "org.codehaus.jackson:jackson-mapper-asl:$jacksonMapperVersion" compile "com.googlecode.androidannotations:androidannotations:$androidAnnotationsVersion" compile group: 'com.googlecode.androidannotations', name: 'androidannotations', version: '2.1', classifier: 'api' runtime files('lib/server-standalone.jar') } sourceSets { main { java { srcDir 'src' } } } clean { delete 'gen' } idea { module { downloadJavadoc = true } project { javaVersion = 'Android 2.2 Platform' } } androidProcessResources.dependsOn(clean) eclipse.dependsOn(cleanEclipse) idea.dependsOn(cleanIdea) defaultTasks 'assemble' </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload