Skip to content

Commit cccce91

Browse files
nitzanjAmir Tocker
authored andcommitted
Change property names to be compatible with gradle install plugin.
1 parent f41eedf commit cccce91

File tree

9 files changed

+20
-16
lines changed

9 files changed

+20
-16
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ allprojects {
99
jcenter()
1010
mavenCentral()
1111
}
12+
13+
project.ext.set("publishGroupId", group)
1214
}
1315

1416
subprojects {

cloudinary-android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ uploadArchives {
8383
name 'Cloudinary Android Library'
8484
description publishDescription
8585
packaging 'aar'
86-
version projectVersion
86+
version version
8787

8888
url githubUrl
8989

@@ -113,7 +113,7 @@ uploadArchives {
113113
pom.dependencies.forEach { dep ->
114114
if (dep.getVersion() == "unspecified") {
115115
dep.setGroupId(publishGroupId)
116-
dep.setVersion(projectVersion)
116+
dep.setVersion(version)
117117
}
118118
}
119119
}

cloudinary-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ uploadArchives {
2828
name 'Cloudinary Core Library'
2929
description publishDescription
3030
packaging jar
31-
version projectVersion
31+
version version
3232

3333
url githubUrl
3434

cloudinary-http42/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ uploadArchives {
3737
name 'Cloudinary Apache HTTP 4.2 Library'
3838
description publishDescription
3939
packaging jar
40-
version projectVersion
40+
version version
4141

4242
url githubUrl
4343

@@ -67,7 +67,7 @@ uploadArchives {
6767
pom.dependencies.forEach { dep ->
6868
if (dep.getVersion() == "unspecified") {
6969
dep.setGroupId(publishGroupId)
70-
dep.setVersion(projectVersion)
70+
dep.setVersion(version)
7171
}
7272
}
7373
}

cloudinary-http43/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ uploadArchives {
3636
name 'Cloudinary Apache HTTP 4.3 Library'
3737
description publishDescription
3838
packaging jar
39-
version projectVersion
39+
version version
4040

4141
url githubUrl
4242

@@ -66,7 +66,7 @@ uploadArchives {
6666
pom.dependencies.forEach { dep ->
6767
if (dep.getVersion() == "unspecified") {
6868
dep.setGroupId(publishGroupId)
69-
dep.setVersion(projectVersion)
69+
dep.setVersion(version)
7070
}
7171
}
7272
}

cloudinary-http44/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ uploadArchives {
3636
name 'Cloudinary Apache HTTP 4.4 Library'
3737
description publishDescription
3838
packaging jar
39-
version projectVersion
39+
version version
4040

4141
url githubUrl
4242

@@ -66,7 +66,7 @@ uploadArchives {
6666
pom.dependencies.forEach { dep ->
6767
if (dep.getVersion() == "unspecified") {
6868
dep.setGroupId(publishGroupId)
69-
dep.setVersion(projectVersion)
69+
dep.setVersion(version)
7070
}
7171
}
7272
}

cloudinary-taglib/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ uploadArchives {
3232
name 'Cloudinary Taglib Library'
3333
description publishDescription
3434
packaging jar
35-
version projectVersion
35+
version version
3636

3737
url githubUrl
3838

@@ -62,7 +62,7 @@ uploadArchives {
6262
pom.dependencies.forEach { dep ->
6363
if (dep.getVersion() == "unspecified") {
6464
dep.setGroupId(publishGroupId)
65-
dep.setVersion(projectVersion)
65+
dep.setVersion(version)
6666
}
6767
}
6868
}

cloudinary-test-common/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ uploadArchives {
2626
name 'Cloudinary Apache HTTP 4.3 Library'
2727
description publishDescription
2828
packaging jar
29-
version projectVersion
29+
version version
3030

3131
url githubUrl
3232

@@ -56,7 +56,7 @@ uploadArchives {
5656
pom.dependencies.forEach { dep ->
5757
if (dep.getVersion() == "unspecified") {
5858
dep.setGroupId(publishGroupId)
59-
dep.setVersion(projectVersion)
59+
dep.setVersion(version)
6060
}
6161
}
6262
}

gradle.properties

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
publishRepo=https://oss.sonatype.org/service/local/staging/deploy/maven2/
22
snapshotRepo=https://oss.sonatype.org/content/repositories/snapshots/
3-
publishGroupId=com.cloudinary
43
publishDescription=Cloudinary is a cloud service that offers a solution to a web application's entire image management pipeline. Upload images to the cloud. Automatically perform smart image resizing, cropping and conversion without installing any complex software. Integrate Facebook or Twitter profile image extraction in a snap, in any dimension and style to match your website’s graphics requirements. Images are seamlessly delivered through a fast CDN, and much much more. This Java library allows to easily integrate with Cloudinary in Java applications.
5-
projectVersion=1.12.1-SNAPSHOT
64
githubUrl=http://github.com/cloudinary/cloudinary_java
75
scmConnection=scm:git:git://github.com/cloudinary/cloudinary_java.git
86
scmDeveloperConnection=scm:git:git@github.com:cloudinary/cloudinary_java.git'
@@ -11,4 +9,8 @@ licenseName=MIT
119
licenseUrl=http://opensource.org/licenses/MIT
1210
developerId=cloudinary
1311
developerName=Cloudinary
14-
developerEmail=info@cloudinary.com
12+
developerEmail=info@cloudinary.com
13+
14+
# These two properties must use these exact names to be compatible with 'gradle install' plugin.
15+
group=com.cloudinary
16+
version=1.12.1-SNAPSHOT

0 commit comments

Comments
 (0)