Skip to content

Commit

Permalink
Add a plugin resolution to use an older execfork version for Java 8 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed Mar 6, 2022
1 parent 5aa5a94 commit 934cb55
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions settings.gradle
Expand Up @@ -14,6 +14,17 @@
* limitations under the License.
*/

// Need to use an older version of execfork for Java 8
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.name == 'execfork' && JavaVersion.current() == JavaVersion.VERSION_1_8) {
useModule('com.github.psxpaul.execfork:com.github.psxpaul.execfork.gradle.plugin:0.1.13')
}
}
}
}

include(
'thymeleaf-layout-dialect',
'thymeleaf-layout-dialect-benchmark',
Expand Down
2 changes: 1 addition & 1 deletion thymeleaf-layout-dialect-benchmark/build.gradle
Expand Up @@ -24,7 +24,7 @@ plugins {
id 'groovy'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'org.springframework.boot' version '2.6.3'
id 'com.github.psxpaul.execfork' version '0.1.14'
id 'com.github.psxpaul.execfork' version '0.1.15'
}
apply from: 'https://raw.githubusercontent.com/ultraq/gradle-support/4.0.1/gradle-support.gradle'

Expand Down

0 comments on commit 934cb55

Please sign in to comment.