Skip to content

Commit

Permalink
Set repo owner/name on root project
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 11, 2024
1 parent a1d13b2 commit b3e43f0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
12 changes: 10 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
import org.metaborg.convention.MavenPublishConventionExtension

// Workaround for issue: https://youtrack.jetbrains.com/issue/KTIJ-19369
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
id("org.metaborg.convention.root-project")
alias(libs.plugins.gitonium)
}

// Workaround for issue: https://github.com/gradle/gradle/issues/20131
println("")
allprojects {
pluginManager.withPlugin("org.metaborg.convention.maven-publish") {
extensions.configure(MavenPublishConventionExtension::class.java) {
repoOwner.set("metaborg")
repoName.set("resource")
}
}
}
5 changes: 0 additions & 5 deletions resource.api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ dependencies {
testCompileOnly(libs.checkerframework.android)
}

mavenPublishConvention {
repoOwner.set("metaborg")
repoName.set("resource")
}

publishing {
publications {
create<MavenPublication>("mavenJava") {
Expand Down
5 changes: 0 additions & 5 deletions resource.dagger/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ dependencies {
compileOnly(libs.checkerframework.android)
}

mavenPublishConvention {
repoOwner.set("metaborg")
repoName.set("resource")
}

publishing {
publications {
create<MavenPublication>("mavenJava") {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pluginManagement {
}

plugins {
id("org.metaborg.convention.settings") version "0.0.11"
id("org.metaborg.convention.settings") version "0.0.13"
}

include(":resource.api")
Expand Down

0 comments on commit b3e43f0

Please sign in to comment.