Skip to content

Commit 4db9d9e

Browse files
committed
Fix test failure
1 parent fc8d7a1 commit 4db9d9e

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/main/groovy/nebula/plugin/plugin/NebulaPluginPlugin.groovy

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -84,40 +84,40 @@ class NebulaPluginPlugin implements Plugin<Project> {
8484
}
8585

8686
pluginBundle {
87-
website = "https://github.com/nebula-plugins/${project.name}"
88-
vcsUrl = "https://github.com/nebula-plugins/${project.name}.git"
87+
website = "https://github.com/nebula-plugins/${name}"
88+
vcsUrl = "https://github.com/nebula-plugins/${name}.git"
8989
description = project.description
9090

9191
mavenCoordinates {
92-
groupId = project.group
93-
artifactId = project.name
92+
groupId = group
93+
artifactId = name
9494
}
9595
}
9696

97-
project.gradle.taskGraph.whenReady { TaskExecutionGraph graph ->
98-
project.tasks.bintrayUpload.onlyIf {
97+
gradle.taskGraph.whenReady { TaskExecutionGraph graph ->
98+
tasks.bintrayUpload.onlyIf {
9999
graph.hasTask(':final') || graph.hasTask(':candidate')
100100
}
101-
project.tasks.artifactoryPublish.onlyIf {
101+
tasks.artifactoryPublish.onlyIf {
102102
graph.hasTask(':snapshot') || graph.hasTask(':devSnapshot')
103103
}
104104
}
105-
}
106105

107-
// Attempt to get out of Gradle dependency hell (at least somewhat reflect the runtime classloading scheme) by forcefully ordering Gradle dependencies last
108-
afterEvaluate {
109-
configurations {
110-
gradleApi
111-
}
106+
// Attempt to get out of Gradle dependency hell (at least somewhat reflect the runtime classloading scheme) by forcefully ordering Gradle dependencies last
107+
afterEvaluate {
108+
configurations {
109+
gradleApi
110+
}
112111

113-
dependencies {
114-
gradleApi gradleApi()
115-
gradleApi localGroovy()
116-
}
112+
dependencies {
113+
gradleApi gradleApi()
114+
gradleApi localGroovy()
115+
}
117116

118-
sourceSets.each {
119-
it.compileClasspath = it.compileClasspath - configurations.gradleApi + configurations.gradleApi
120-
it.runtimeClasspath = it.runtimeClasspath - configurations.gradleApi + configurations.gradleApi
117+
sourceSets.each {
118+
it.compileClasspath = it.compileClasspath - configurations.gradleApi + configurations.gradleApi
119+
it.runtimeClasspath = it.runtimeClasspath - configurations.gradleApi + configurations.gradleApi
120+
}
121121
}
122122
}
123123
}

0 commit comments

Comments
 (0)