Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielThomas committed May 19, 2016
1 parent fc8d7a1 commit 4db9d9e
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/main/groovy/nebula/plugin/plugin/NebulaPluginPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -84,40 +84,40 @@ class NebulaPluginPlugin implements Plugin<Project> {
}

pluginBundle {
website = "https://github.com/nebula-plugins/${project.name}"
vcsUrl = "https://github.com/nebula-plugins/${project.name}.git"
website = "https://github.com/nebula-plugins/${name}"
vcsUrl = "https://github.com/nebula-plugins/${name}.git"
description = project.description

mavenCoordinates {
groupId = project.group
artifactId = project.name
groupId = group
artifactId = name
}
}

project.gradle.taskGraph.whenReady { TaskExecutionGraph graph ->
project.tasks.bintrayUpload.onlyIf {
gradle.taskGraph.whenReady { TaskExecutionGraph graph ->
tasks.bintrayUpload.onlyIf {
graph.hasTask(':final') || graph.hasTask(':candidate')
}
project.tasks.artifactoryPublish.onlyIf {
tasks.artifactoryPublish.onlyIf {
graph.hasTask(':snapshot') || graph.hasTask(':devSnapshot')
}
}
}

// Attempt to get out of Gradle dependency hell (at least somewhat reflect the runtime classloading scheme) by forcefully ordering Gradle dependencies last
afterEvaluate {
configurations {
gradleApi
}
// Attempt to get out of Gradle dependency hell (at least somewhat reflect the runtime classloading scheme) by forcefully ordering Gradle dependencies last
afterEvaluate {
configurations {
gradleApi
}

dependencies {
gradleApi gradleApi()
gradleApi localGroovy()
}
dependencies {
gradleApi gradleApi()
gradleApi localGroovy()
}

sourceSets.each {
it.compileClasspath = it.compileClasspath - configurations.gradleApi + configurations.gradleApi
it.runtimeClasspath = it.runtimeClasspath - configurations.gradleApi + configurations.gradleApi
sourceSets.each {
it.compileClasspath = it.compileClasspath - configurations.gradleApi + configurations.gradleApi
it.runtimeClasspath = it.runtimeClasspath - configurations.gradleApi + configurations.gradleApi
}
}
}
}
Expand Down

0 comments on commit 4db9d9e

Please sign in to comment.