Skip to content

Commit

Permalink
Fix creation of "requiredPlugin" configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
floscher committed May 10, 2018
1 parent fc23d51 commit 420d12c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/kotlin/ConfigurationsSetup.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import org.gradle.api.artifacts.ExternalModuleDependency

fun Configuration.setupAsMainConfiguration(project: Project) {
// Configuration for JOSM plugins that are required for this plugin. Normally there's no need to set these manually, these are set based on the manifest configuration
val requiredPluginConfiguration = extendsFrom(project.configurations.create("requiredPlugin"))
val requiredPluginConfiguration = project.configurations.create("requiredPlugin") {
this.extendsFrom(it)
}
// Configuration for libraries on which the project depends and which should be packed into the built *.jar file.
extendsFrom(project.configurations.create("packIntoJar"))

Expand Down

0 comments on commit 420d12c

Please sign in to comment.