common.gradle 1.29 KB
Newer Older
PWF-WK01\pengwufeng committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
//配置子工程默认的配置

apply plugin: "eclipse"
apply plugin: "java"
apply plugin: 'maven-publish'
apply plugin: 'com.beecode.metadata-module'

ext {
	aminoVersion             = "2.1.+"
	inzVersion				 = "1.0.+"
	
	springVersion                = "5.0.6.RELEASE"
	springBootVersion            = "2.0.2.RELEASE"
	springSecurityVersion        = "5.0.3.RELEASE"
	springSessionVersion         = "2.0.2.RELEASE"
	hibernateVersion             = "5.3.0.Final"
	hibernateValidatorVersion    = "6.0.10.Final"
	liquibaseVersion             = "3.5.3"
	
	dom4jVersion             = "2.0.0"
	jacksonVersion           = "2.8.6"
	javaServletVersion       = "4.0.0-b01"
	jsonVersion              = "20160810"
	rhinoVersion             = "1.7.7.1"

	slf4jVersion             = "1.7.22"
	logbackVersion           = "1.1.9"

	junitVersion             = "4.12"
	mockitoVersion           = "1.10.19"

	mysqlVersion             = "5.1.39"
	h2Version                = "1.4.193"
}

compileJava.options*.compilerArgs = [
]

compileTestJava.options*.compilerArgs = [
]

compileJava {
	sourceCompatibility = 1.8
	targetCompatibility = 1.8
	options.encoding = 'UTF-8'
}

compileTestJava {
	sourceCompatibility = 1.8
	targetCompatibility = 1.8
	options.encoding = 'UTF-8'
	options.compilerArgs += "-parameters"
}

test {
}

dependencies {
}