create eclipse configuration with gradle

This commit is contained in:
Hannes Janetzek
2014-02-23 10:03:11 +01:00
parent ad62e26b59
commit ff83629054
23 changed files with 756 additions and 128 deletions

View File

@@ -1,26 +1,35 @@
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.2'
classpath 'com.android.tools.build:gradle:0.7.+'
// https://github.com/dcendents/android-maven-plugin
classpath 'com.github.dcendents:android-maven-plugin:1.0'
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.2'
}
}
allprojects {
group = 'org.oscim'
version = '0.5.9-SNAPSHOT'
apply plugin: 'idea'
repositories {
mavenCentral()
mavenLocal()
}
group = 'org.oscim'
version = '0.5.9-SNAPSHOT'
repositories {
mavenCentral()
mavenLocal()
}
}
subprojects {
apply plugin: 'eclipse'
task copySettings(type: Copy) {
from "$rootDir/eclipse"
into ".settings"
include '**/*'
}
eclipseProject.dependsOn copySettings
}