47 lines
867 B
Groovy
47 lines
867 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.3'
|
|
}
|
|
}
|
|
|
|
apply from:'jdee.gradle'
|
|
|
|
allprojects {
|
|
group = 'org.oscim'
|
|
version = '0.5.9-SNAPSHOT'
|
|
|
|
ext.gdxVersion = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
//maven { url 'https://github.com/hjanetzek/maven-repo/raw/master/' }
|
|
mavenLocal()
|
|
}
|
|
|
|
// create IntelliJ project settings - untested
|
|
apply plugin: 'idea'
|
|
}
|
|
|
|
subprojects {
|
|
// create eclipse project settings
|
|
apply plugin: 'eclipse'
|
|
|
|
task copySettings(type: Copy) {
|
|
from "$rootDir/eclipse"
|
|
into ".settings"
|
|
include '**/*'
|
|
}
|
|
|
|
eclipseProject.dependsOn copySettings
|
|
|
|
// create emacs JDEE project settings
|
|
// http://ignatyev-dev.blogspot.de/2013/07/gradle-projects-in-jdee.html
|
|
apply from:'../jdee.gradle'
|
|
}
|
|
|