43 lines
913 B
Groovy
43 lines
913 B
Groovy
apply plugin: "java"
|
|
apply plugin: "maven"
|
|
apply plugin: "eclipse"
|
|
apply plugin: "idea"
|
|
|
|
group = "ca.blarg.gdx"
|
|
version = "0.1-SNAPSHOT"
|
|
ext.appName = "gdx-tilemap3d"
|
|
ext.gdxVersion = "1.0.0"
|
|
|
|
sourceCompatibility = 1.6
|
|
|
|
configurations {
|
|
deployerJars
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url "http://oss.sonatype.org/content/repositories/releases/" }
|
|
maven { url "http://maven.blarg.ca" }
|
|
mavenLocal()
|
|
}
|
|
|
|
dependencies {
|
|
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
|
|
compile "ca.blarg.gdx:gdx-toolbox:0.1-SNAPSHOT"
|
|
deployerJars "org.apache.maven.wagon:wagon-ssh:2.2"
|
|
}
|
|
|
|
uploadArchives {
|
|
repositories.mavenDeployer {
|
|
configuration = configurations.deployerJars
|
|
uniqueVersion = false
|
|
repository(url: mavenDeployUrl) {
|
|
authentication(userName: mavenDeployUser, privateKey: mavenDeployPrivateKeyFile)
|
|
}
|
|
}
|
|
}
|
|
|
|
eclipse.project {
|
|
name = appName
|
|
}
|