Skip to content

Commit 9d77628

Browse files
committed
Update plugin ID
1 parent 33a60d7 commit 9d77628

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ buildParameters {
8282
}
8383

8484
pluginPublishConventions {
85-
id("${project.group}.internal.gradlex-build-conventions")
85+
id("${project.group}.${project.name}")
8686
implementationClass("org.gradlex.conventions.plugin.GradleXPluginConventionsPlugin")
8787
displayName("Conventions for building Gradle plugins")
8888
description("Conventions for building Gradle plugins used by all projects in the GradleX organisation.")
@@ -98,4 +98,9 @@ pluginPublishConventions {
9898
name = "Jendrik Johannes"
9999
100100
}
101+
developer {
102+
id = "ljacomet"
103+
name = "Louis Jacomet"
104+
105+
}
101106
}

settings.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
rootProject.name = "plugin-publish-conventions"
2-
31
plugins {
42
id("com.gradle.develocity") version "4.2.2"
53
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.4.0"
64
}
75

6+
rootProject.name = "internal-build-conventions"
7+
88
dependencyResolutionManagement {
99
repositories.gradlePluginPortal()
1010
}

src/main/java/org/gradlex/conventions/base/LifecycleConventionsPlugin.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ public void apply(Project project) {
5858

5959
// cleanup 'build' group
6060
var unimportantLifecycleTasks = List.of(
61-
BUILD_DEPENDENTS_TASK_NAME, BUILD_NEEDED_TASK_NAME, CLASSES_TASK_NAME, TEST_CLASSES_TASK_NAME);
61+
BUILD_DEPENDENTS_TASK_NAME,
62+
BUILD_NEEDED_TASK_NAME,
63+
CLASSES_TASK_NAME,
64+
TEST_CLASSES_TASK_NAME,
65+
"testSamplesClasses"
66+
);
6267
project.afterEvaluate(__ ->
6368
tasks.configureEach(task -> {
6469
if (unimportantLifecycleTasks.contains(task.getName())) {

0 commit comments

Comments
 (0)