Skip to content

Commit

Permalink
Xtext+Gradle build problem fix (eclipse-xtext/xtext#1976 (comment)) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-ka authored Jul 9, 2021
1 parent aa66681 commit c018076
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,18 @@ subprojects {
if (!project.hasProperty('signing.secretKeyRingFile')) {
project.ext.'signing.secretKeyRingFile' = "${rootDir}/secret-key.gpg"
}

// workaround for XText+Gradle build problems: https://github.com/eclipse/xtext/issues/1976#issuecomment-862141814
configurations.all {
resolutionStrategy {
eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.eclipse.platform' && details.requested.name == 'org.eclipse.core.runtime') {
details.useVersion "3.19.0"
}
if (details.requested.group == 'org.eclipse.platform' && details.requested.name == 'org.eclipse.equinox.common') {
details.useVersion("3.13.0")
}
}
}
}
}

0 comments on commit c018076

Please sign in to comment.