Moving Credentials Away from this file because now i need it
This commit is contained in:
parent
01be6f7d43
commit
7d8af3af08
|
@ -1,7 +1,6 @@
|
|||
# ---> Gradle
|
||||
.gradle
|
||||
/build/
|
||||
gradle.properties
|
||||
|
||||
# Ignore Gradle GUI config
|
||||
gradle-app.setting
|
||||
|
|
|
@ -87,12 +87,14 @@ test {
|
|||
}
|
||||
|
||||
uploadArchives {
|
||||
Properties props = new Properties()
|
||||
props.load(new FileInputStream("$buildDir/credentials.properties"))
|
||||
repositories.mavenDeployer {
|
||||
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') {
|
||||
authentication(userName: project.properties.mavenUser, password: project.properties.mavenPassword)
|
||||
authentication(userName: props.mavenUser, password: props.mavenPassword)
|
||||
}
|
||||
pom {
|
||||
version = project.version
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
org.gradle.jvmargs=-Xmx3G
|
Loading…
Reference in New Issue