- Switch propdeps-plugin to custom OptionalDependenciesPlugin - Switch io.spring.dependency-management with custom spring-statemachine-platform project - Use proper gradle publication system - Switch to testfixtures from a custom tests jar - Migrate to spring-asciidoctor-backends - Generic changes to bom/starter create as we now use publications
17 lines
568 B
Groovy
17 lines
568 B
Groovy
apply plugin: 'java-test-fixtures'
|
|
|
|
compileTestFixturesJava {
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
}
|
|
|
|
eclipse.classpath {
|
|
file.whenMerged { classpath ->
|
|
classpath.entries.findAll { entry -> entry instanceof org.gradle.plugins.ide.eclipse.model.ProjectDependency && entry.entryAttributes.test }
|
|
.each { it.entryAttributes['test'] = 'false' }
|
|
}
|
|
}
|
|
|
|
components.java.withVariantsFromConfiguration(configurations.testFixturesApiElements) { skip() }
|
|
components.java.withVariantsFromConfiguration(configurations.testFixturesRuntimeElements) { skip() }
|