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.
51 lines
1.1 KiB
51 lines
1.1 KiB
import org.gradle.plugins.ide.idea.model.IdeaLanguageLevel |
|
|
|
plugins { |
|
id 'java' |
|
id 'java-library' |
|
id 'com.fr.common' version '1.0-SNAPSHOT' |
|
} |
|
|
|
// 模块参数 |
|
ext { |
|
frVersion = "10.0-FEATURE-SNAPSHOT" |
|
outputPath = "build" |
|
ignoreTestFailureSetting = true |
|
languageLevelSetting = 1.8 |
|
} |
|
|
|
apply from: 'globalConfigHook.gradle' |
|
|
|
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 |
|
} |
|
} |
|
}
|
|
|