ghidra/Ghidra/Features/MicrosoftDmang/build.gradle
2021-05-12 13:45:16 -04:00

54 lines
2.2 KiB
Groovy

/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
apply from: "$rootProject.projectDir/gradle/distributableGhidraModule.gradle"
apply from: "$rootProject.projectDir/gradle/javaProject.gradle"
//apply from: "$rootProject.projectDir/gradle/jacocoProject.gradle"
apply from: "$rootProject.projectDir/gradle/javaTestProject.gradle"
apply plugin: 'eclipse'
eclipse.project.name = 'Features MicrosoftDemang'
project.ext.excludeFromParallelTests = true
project.ext.excludeFromParallelIntegrationTests = true
dependencies {
api project(':Base')
}
/*
* The following test ensures that I can have all sorts of developer tests as well as the
* MDMangBaseTest within the src/test folder and not have them found by gradle for
* nightly or continuous testing. Earlier, I only had this test suite in src/test and
* all other files in src/test.local, but that had a host of other problems including:
* * needing a way to allow the dependency on src/test.local
* * needing a way to tell gradle to not include the files of src/test.local in the
* deliverable build
*/
test {
scanForTestClasses = false
// The root project has a task, 'parallelCombinedTestReport' that inherits the exclude property
// of this test task. If the root project is in parallelMode ('parallelCombinedTestReport'
// was invoked in the command line) don't include any tests from this subproject.
// These 'includes' are configured 'lazily', so evaluation is done after
// 'parallelCombinedTestReport' is configured in the root project.
if (rootProject.ext.parallelMode) {
exclude "*"
} else {
includes = ['**/MDMangBaseWorkingTests.class', '**/MDMangExtraTest.class']
}
}