11import java.util.regex.Pattern
2+
3+ Properties releaseConfig = new Properties ()
4+ releaseConfig. load(new FileInputStream (" releaseConfig.properties" ))
5+ ext. releaseConfig = releaseConfig
26task wrapper (type : Wrapper ) {
37 gradleVersion = ' 1.10'
48}
@@ -88,27 +92,27 @@ afterEvaluate { project ->
8892 beforeDeployment {
8993 MavenDeployment deployment -> signing. signPom(deployment)
9094 }
91- println " sonatype username: ${ sonatypeUsername } "
95+ println " ossr username: ${ releaseConfig.ossrhUsername } "
9296
9397 pom. artifactId = ' android-priority-jobqueue'
9498
9599 snapshotRepository(url : " https://oss.sonatype.org/content/repositories/snapshots" ) {
96- authentication(userName : sonatypeUsername , password : sonotypePassword )
100+ authentication(userName : releaseConfig . ossrhUsername , password : releaseConfig . ossrhPassword )
97101 }
98102
99103 repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2" ) {
100- authentication(userName : sonatypeUsername , password : sonotypePassword )
104+ authentication(userName : releaseConfig . ossrhUsername , password : releaseConfig . ossrhPassword )
101105 }
102106
103107 pom. project {
104108 modelVersion ' 4.0.0'
105- groupId ' com.path '
109+ groupId ' com.birbit '
106110 artifactId ' android-priority-jobqueue'
107111 packaging ' jar'
108112 name ' Android Priority Job Queue'
109113 version manifestVersionName
110114 description ' a Job Queue specifically written for Android to easily schedule jobs (tasks) that run in the background, improving UX and application stability.'
111- url ' https://github.com/path /android-priority-jobqueue'
115+ url ' https://github.com/yigit /android-priority-jobqueue'
112116
113117 parent {
114118 groupId ' org.sonatype.oss'
@@ -117,9 +121,9 @@ afterEvaluate { project ->
117121 }
118122
119123 scm {
120- connection ' scm:git:git@github.com:path /android-priority-jobqueue.git'
121- developerConnection ' scm:git:git@github.com:path /android-priority-jobqueue.git'
122- url ' git@github.com:path /android-priority-jobqueue.git'
124+ connection ' scm:git:git@github.com:yigit /android-priority-jobqueue.git'
125+ developerConnection ' scm:git:git@github.com:yigit /android-priority-jobqueue.git'
126+ url ' git@github.com:yigit /android-priority-jobqueue.git'
123127 }
124128
125129 licenses {
0 commit comments