Files
gradle-android-eclipse/README.md
T
handte ac0d9a7fd5
handte/gradle-android-eclipse/master There was a failure building this commit
Initial version.
2019-11-01 16:58:35 +01:00

48 lines
1.3 KiB
Markdown

# About
The source code of a Gradle Plugin that can compute an Eclipse configuration from an Android project.
# Setup
This project is configured to be built with [Gradle](https://gradle.org). The Jenkinsfile is executed by the NES [Jenkins](https://jenkins.io/index.html) which automatically deploys successful builds on the master branch to the NES Artifactory.
# Building
To build the project, you will have to install [Java](http://www.oracle.com/technetwork/java/index.html) and [Gradle](https://gradle.org). Then run 'gradle clean build' to trigger a build.
# Usage
To use the plugin, you will have to import it in your project's build.gradle file. To do this, include the NES Artifactory as Maven repository for resolving plugins as follows:
```
buildscript {
dependencies {
classpath 'org.handte.gradle:android-eclipse-gradle:1.0.0'
}
repositories {
maven {
url = 'https://project.nes.uni-due.de/artifactory/releases';
credentials { username = 'public'; password = 'public' }
}
}
}
```
Then apply the plugin to your Android application modules using the corresponding build.gradle file as follows:
```
apply plugin: 'com.mowesta.gradle-android-eclipse'
eclipse {
classpath {
plusConfigurations += [
configurations.eclipseConfig,
configurations.eclipseTestConfig,
]
downloadSources = true
}
}
```