2019-11-01 16:58:35 +01:00
2019-11-01 16:58:35 +01:00
2019-11-01 16:58:35 +01:00
2019-11-01 17:35:09 +01:00
2019-11-01 16:58:35 +01:00
2019-11-01 17:02:36 +01:00
2019-11-01 16:58:35 +01:00
2019-11-01 16:58:35 +01:00
2019-11-01 17:35:09 +01:00
2019-11-01 16:58:35 +01:00

About

The source code of a Gradle Plugin that can compute an Eclipse configuration from an Android project. Most of the code originates from David Green's Gradle Android Eclipse plugin on Github. However, this version of his code includes several fixes that are required to use his work.

Setup

This project is configured to be built with Gradle. The Jenkinsfile is executed by the NES Jenkins which automatically deploys successful builds on the master branch to the NES Artifactory.

Building

To build the project, you will have to install Java and Gradle. 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' }
			authentication { basic(BasicAuthentication) }
		}
	}
}

Then apply the plugin to your Android application modules using the corresponding build.gradle file as follows:

apply plugin: 'org.handte.gradle-android-eclipse'

eclipse {
	classpath {
		plusConfigurations += [
			configurations.eclipseConfig,
			configurations.eclipseTestConfig,
		]
		downloadSources = true
	}
}
S
Description
A Gradle plugin that computes an Eclipse configuration for Android projects to use Eclipse for Android development.
Readme
89 KiB
Languages
Java 100%