Skip to content

Commit

Permalink
Minor fixes with publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
kirich1409 committed Sep 13, 2020
1 parent a3f25fc commit 0f1659c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions publishing.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ afterEvaluate {
from components.release
artifact sourceJar

groupId = 'com.kirich1409.viewbindingpropertydelegate'
groupId = project.ext.groupId
artifactId = project.ext.artifactId
version = rootProject.ext.versionName

Expand Down Expand Up @@ -50,7 +50,7 @@ afterEvaluate {

pkg {
repo = 'maven'
name = 'viewbindingpropertydelegate'
name = project.ext.bintrayPackageName
desc = "Make work with Android View Binding simpler"
userOrg = System.env.BINTRAY_USER_ORGANIZATION ?: ""
licenses = ['Apache-2.0']
Expand Down
2 changes: 2 additions & 0 deletions vbpd-noreflection/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ plugins {
}

ext {
groupId = 'com.kirich1409.viewbindingpropertydelegate'
artifactId = "vbpd-noreflection"
bintrayPackageName = "vbpd-noreflection"
}

apply from: rootProject.file('publishing.gradle')
Expand Down
4 changes: 3 additions & 1 deletion vbpd/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ plugins {
}

ext {
groupId = 'com.kirich1409.viewbindingpropertydelegate'
artifactId = "viewbindingpropertydelegate"
bintrayPackageName = "viewbindingpropertydelegate"
}

apply from: rootProject.file('publishing.gradle')
Expand Down Expand Up @@ -49,4 +51,4 @@ dependencies {
implementation rootProject.ext.dependencies.kotlinStdlib
implementation rootProject.ext.dependencies.viewBinding
api project(":vbpd-noreflection")
}
}

0 comments on commit 0f1659c

Please sign in to comment.