Skip to content

Commit

Permalink
Adding the correct moduleSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
muuki88 committed Aug 6, 2017
1 parent dda9473 commit 37866fd
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,9 @@ object SettingsHelper {
artifacts := Seq.empty,
packagedArtifacts := Map.empty,
projectID := ModuleID(organization.value, name.value, version.value),
// Why do we need a custom ModuleConfiguration for a package type?
moduleSettings := IvyFileConfiguration(
validate = true,
scalaModuleInfo = scalaModuleInfo.value,
file = packageTask.value,
autoScalaTools = false
),
// Why do we have change the ivyModule?
// Custom module settings to skip the ivy XmlModuleDescriptorParser
moduleSettings := ModuleDescriptorConfiguration(projectID.value, projectInfo.value)
.withScalaModuleInfo(scalaModuleInfo.value),
ivyModule := {
val ivy = ivySbt.value
new ivy.Module(moduleSettings.value)
Expand Down

0 comments on commit 37866fd

Please sign in to comment.