continuous integration - Android Library & CI -
i want run tests in android library
project gitlab ci: .gitlab-ci.yml
file:
before_script: - export android_home="/opt/android-sdk" - export gradle_home="/opt/gradle" - export path="/opt/gradle/bin:$path" - export path=$path:/opt/android-sdk/tools - export path=$path:/opt/android-sdk/platform-tools build: script: - gradle clean build
i get
plugin id 'com.android.library' not found.
what wrong? thanks.
added next android library build.gradle
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.1.2' // note: not place application dependencies here; belong // in individual module build.gradle files } } allprojects { repositories { jcenter() } }
Comments
Post a Comment