Slackbot
02/01/2022, 1:34 AMJendrik Johannes
02/01/2022, 6:56 AMpublishing {
publications.getByName<MavenPublication>("pluginMaven") {
// ...
}
}Thomas Broyer
02/01/2022, 8:41 AMproject.group and project.version in your build.gradle{,.kts}, and rootProject.name in your settings.gradle{,.kts} .Brian Stewart
02/01/2022, 3:59 PMrootProject.name, but my plugin is in a subproject, but I want to publish it with the rootProject.name artifact ID without altering the project name of the subproject. If there is a cleaner way to do that (plugin in subproject, but root project named with plugin name) let me know. 🙂Jendrik Johannes
02/02/2022, 9:09 AMinclude('project-name-that-is-the-artifact-id')
project(':project-name-that-is-the-artifact-id').projectDir = file("the-other-name")
https://docs.gradle.org/current/userguide/fine_tuning_project_layout.html#sub:modifying_element_of_the_project_tree