You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import org.gradle.plugins.ide.idea.model.IdeaLanguageLevel
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'java-library'
|
|
|
|
id 'com.fr.common' version '1.0-SNAPSHOT'
|
|
|
|
}
|
|
|
|
|
|
|
|
ext {
|
|
|
|
frVersion = ""
|
|
|
|
outputPath = "build"
|
|
|
|
ignoreTestFailureSetting = true
|
|
|
|
languageLevelSetting = 1.8
|
|
|
|
}
|
|
|
|
|
|
|
|
apply from: 'globalConfigHook.gradle'
|
|
|
|
|
|
|
|
if(versions.frVersion){
|
|
|
|
frVersion = versions.frVersion
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':design-i18n-report')
|
|
|
|
compile project(':design-i18n-chart')
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'java-library'
|
|
|
|
apply plugin: 'idea'
|
|
|
|
|
|
|
|
group 'com.fr.design'
|
|
|
|
version frVersion
|
|
|
|
sourceCompatibility = languageLevelSetting
|
|
|
|
targetCompatibility = languageLevelSetting
|
|
|
|
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.encoding = "UTF-8"
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
}
|
|
|
|
|
|
|
|
idea {
|
|
|
|
module {
|
|
|
|
inheritOutputDirs = false
|
|
|
|
outputDir = file(outputPath +"/classes")
|
|
|
|
testOutputDir = file(outputPath +"/test-classes")
|
|
|
|
languageLevel = new IdeaLanguageLevel(sourceCompatibility)
|
|
|
|
targetBytecodeVersion = targetCompatibility
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|