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.
57 lines
1.2 KiB
57 lines
1.2 KiB
4 years ago
|
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
|
||
|
}
|
||
|
|
||
|
|
||
|
applyGlobalConfigPathIfExist()
|
||
|
|
||
|
if (versions.frVersion) {
|
||
|
frVersion = versions.frVersion
|
||
|
}
|
||
|
def frDevVersion = "DEV" + 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 frDevVersion
|
||
|
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
|
||
|
}
|
||
|
}
|
||
|
}
|