numass-framework/build.gradle

32 lines
719 B
Groovy

apply plugin: 'base'
apply plugin: 'project-report'
apply plugin: 'build-dashboard'
htmlDependencyReport {
projects = project.allprojects
}
File dataforgeDir = new File(rootDir, dataforgePath);
print "The dataforge directory is ${dataforgeDir}"
if(dataforgeDir.exists()){
rootProject.ext.dataforgeLocal = true;
}
subprojects{
if(path.startsWith(':dataforge')){
apply from: new File(dataforgeDir, 'dataforge.gradle')
}
if(path.startsWith(':numass')){
apply from: rootProject.file('numass.gradle')
}
}
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.+'
}
}