Merge pull request #8 from Speiger/master
Moving Credentials Away from this file because now i need it
This commit is contained in:
commit
bc75a5cd97
|
@ -1,7 +1,6 @@
|
||||||
# ---> Gradle
|
# ---> Gradle
|
||||||
.gradle
|
.gradle
|
||||||
/build/
|
/build/
|
||||||
gradle.properties
|
|
||||||
|
|
||||||
# Ignore Gradle GUI config
|
# Ignore Gradle GUI config
|
||||||
gradle-app.setting
|
gradle-app.setting
|
||||||
|
@ -32,4 +31,4 @@ gradle-app.setting
|
||||||
/src/main/java/speiger/src/collections/objects/*
|
/src/main/java/speiger/src/collections/objects/*
|
||||||
|
|
||||||
#Cache result
|
#Cache result
|
||||||
/src/builder/resources/speiger/assets/collections/cache.bin
|
/src/builder/resources/speiger/assets/collections/cache.bin
|
||||||
|
|
|
@ -87,12 +87,14 @@ test {
|
||||||
}
|
}
|
||||||
|
|
||||||
uploadArchives {
|
uploadArchives {
|
||||||
|
Properties props = new Properties()
|
||||||
|
props.load(new FileInputStream("$buildDir/credentials.properties"))
|
||||||
repositories.mavenDeployer {
|
repositories.mavenDeployer {
|
||||||
repository(url: 'https://maven.speiger.com/repository/main') {
|
repository(url: 'https://maven.speiger.com/repository/main') {
|
||||||
authentication(userName: project.properties.mavenUser, password: project.properties.mavenPassword)
|
authentication(userName: props.mavenUser, password: props.mavenPassword)
|
||||||
}
|
}
|
||||||
snapshotRepository(url: 'https://maven.speiger.com/repository/main') {
|
snapshotRepository(url: 'https://maven.speiger.com/repository/main') {
|
||||||
authentication(userName: project.properties.mavenUser, password: project.properties.mavenPassword)
|
authentication(userName: props.mavenUser, password: props.mavenPassword)
|
||||||
}
|
}
|
||||||
pom {
|
pom {
|
||||||
version = project.version
|
version = project.version
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
org.gradle.jvmargs=-Xmx3G
|
Loading…
Reference in New Issue