Skip to content

Commit

Permalink
Fix subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 11, 2024
1 parent 68481c9 commit ebe0d54
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import org.metaborg.convention.MavenPublishConventionExtension

plugins {
id("org.metaborg.convention.root-project")
}
5 changes: 1 addition & 4 deletions example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ plugins {
id("org.metaborg.convention.root-project")
}

rootProjectConvention {
taskNameSuffix.set("All")
}

// Required, either here or on each subproject
allprojects {
pluginManager.withPlugin("org.metaborg.convention.maven-publish") {
extensions.configure(MavenPublishConventionExtension::class.java) {
Expand Down
2 changes: 1 addition & 1 deletion example/java-example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ javaConvention {
javaVersion.set(JavaLanguageVersion.of(17)) // Optional
}

// This is required, either here or on the root project
// Required, either here or on the root project
mavenPublishConvention {
repoOwner.set("metaborg")
repoName.set("convention-plugin-example")
Expand Down

0 comments on commit ebe0d54

Please sign in to comment.