-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsettings.gradle
More file actions
22 lines (21 loc) · 819 Bytes
/
settings.gradle
File metadata and controls
22 lines (21 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//Workaround to make the JUnit Platform Gradle Plugin available using the `plugins` DSL
// See https://github.com/junit-team/junit5/issues/768
pluginManagement {
repositories {
gradlePluginPortal()
maven {
url = ArtifactRepositoryContainer.MAVEN_CENTRAL_URL
}
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == 'org.junit.platform.gradle.plugin') {
useModule("org.junit.platform:junit-platform-gradle-plugin:${requested.version}")
//} else if (requested.id.id == 'org.junit.platform.gradle.plugin') {
//useModule("org.junit.platform:junit-platform-gradle-plugin:${requested.version}")
}
}
}
}
rootProject.name = archivesBaseName
enableFeaturePreview('STABLE_PUBLISHING')