Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kengoon committed Dec 8, 2023
1 parent 0cfa19f commit f86f50f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion buildSrc/src/main/kotlin/publish.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ publishing {

publications {
create<MavenPublication>("release") {
groupId = PUBLISHING_GROUP
artifactId = project.name
// version = project.version.toString()
afterEvaluate {
if (plugins.hasPlugin("com.android.library")) {
from(components["release"])
Expand All @@ -58,7 +61,7 @@ publishing {

pom {
if (!"USE_SNAPSHOT".byProperty.isNullOrBlank()) {
version = "$version-SNAPSHOT"
version = "${project.version.toString()}-SNAPSHOT"
}
description.set("A template for Kotlin Android projects")
url.set("https://github.com/SimpleJnius/sj-firebase-java/")
Expand All @@ -73,6 +76,8 @@ publishing {
developer {
id.set("kengoon")
name.set("Kenechukwu Akubue")
organization.set("Simple Jnius")
organizationUrl.set("https://github.com/organizations/SimpleJnius")
}
}
scm {
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ android.useAndroidX=true
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
version=0.4.2

0 comments on commit f86f50f

Please sign in to comment.