add maven artifact deployment action
This commit is contained in:
parent
6099736875
commit
f348b5a162
16
build.gradle
16
build.gradle
|
@ -10,15 +10,31 @@ ext.gdxVersion = "1.0.0"
|
||||||
|
|
||||||
sourceCompatibility = 1.6
|
sourceCompatibility = 1.6
|
||||||
|
|
||||||
|
configurations {
|
||||||
|
deployerJars
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven { url "http://oss.sonatype.org/content/repositories/releases/" }
|
maven { url "http://oss.sonatype.org/content/repositories/releases/" }
|
||||||
|
maven { url "http://maven.blarg.ca" }
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
|
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
|
||||||
compile "ca.blarg.gdx:gdx-toolbox:0.1-SNAPSHOT"
|
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 {
|
eclipse.project {
|
||||||
|
|
Loading…
Reference in a new issue