Tuesday, 15 July 2014

java - Which build.gradle files should we consider and why? -



java - Which build.gradle files should we consider and why? -

this question regards issue i've faced during integrating android-annotations framework gradle in android studio. here https://github.com/excilys/androidannotations/wiki/building-project-gradle hints how integrate android project. unfortunately i'm not advanced gradle , google not serve effective help gradle sync error:

error:(28, 0) not find property 'plugin' on root project 'value'.

which indicates on line apply plugin 'com.android.application' i've added during annotations integration.

env:

android studio (beta) 0.8.9 ------------------------------------------------------------ gradle 1.4 ------------------------------------------------------------ gradle build time: monday, september 9, 2013 8:44:25 pm utc groovy: 1.8.6 ant: apache ant(tm) version 1.9.3 compiled on apr 8 2014 ivy: non official version jvm: 1.7.0_65 (oracle corporation 24.65-b04) os: linux 3.13.0-37-generic amd64

appreciate sollution.

the right syntax apply plugin: 'com.android.application' (note colon).

java android gradle android-studio android-annotations

No comments:

Post a Comment