diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 0000000..ac8ac61 --- /dev/null +++ b/build.gradle.kts @@ -0,0 +1,5 @@ +import org.metaborg.convention.MavenPublishConventionExtension + +plugins { + id("org.metaborg.convention.root-project") +} diff --git a/example/build.gradle.kts b/example/build.gradle.kts index 6f35225..23a14e8 100644 --- a/example/build.gradle.kts +++ b/example/build.gradle.kts @@ -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) { diff --git a/example/java-example/build.gradle.kts b/example/java-example/build.gradle.kts index bb9bea6..8cd76de 100644 --- a/example/java-example/build.gradle.kts +++ b/example/java-example/build.gradle.kts @@ -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")