Skip to content

Commit

Permalink
Fix publication problems
Browse files Browse the repository at this point in the history
  • Loading branch information
arkanovicz committed Mar 5, 2023
1 parent 7fe3770 commit 3505b42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
6 changes: 2 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ tasks {
}
}

allprojects {
group = "com.republicate.kddl"
version = "0.8"
}
group = "com.republicate.kddl"
version = "0.8"

signing {
useGpgCmd()
Expand Down
16 changes: 7 additions & 9 deletions kddl-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ buildscript {
}
}

group = "com.republicate.kddl"
version = "0.8"

dependencies {
implementation(gradleApi())
api(rootProject)
Expand All @@ -45,13 +48,6 @@ tasks {
}

tasks {
/*
register<Jar>("sourcesJar") {
archiveClassifier.set("sources")
dependsOn("classes")
from(sourceSets["main"].allSource)
}
*/
register<Jar>("dokkaJar") {
from(dokkaHtml)
dependsOn(dokkaHtml)
Expand All @@ -74,14 +70,16 @@ gradlePlugin {
version = "0.8"
}
}
// isAutomatedPublishing = false
isAutomatedPublishing = false
}

afterEvaluate {
tasks.withType<GenerateMavenPom>() {
doFirst {
with (pom) {
with(pom) {
group = "com.republicate.kddl"
name.set("kddl-gradle-plugin")
// packaging = "jar"
description.set("kddl-gradle-plugin $version - Gradle plugin to generates SQL database creation scripts from KDDL model file")
url.set("https://github.com/arkanovicz/kddl")
licenses {
Expand Down

0 comments on commit 3505b42

Please sign in to comment.