|
|
@ -1,8 +1,29 @@ |
|
|
|
|
|
|
|
|
|
|
|
apply plugin: 'java' |
|
|
|
|
|
|
|
tasks.withType(JavaCompile){ |
|
|
|
tasks.withType(JavaCompile){ |
|
|
|
options.encoding = 'UTF-8' |
|
|
|
options.encoding = 'UTF-8' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
buildscript { |
|
|
|
|
|
|
|
repositories { |
|
|
|
|
|
|
|
maven { |
|
|
|
|
|
|
|
url "http://www.eveoh.nl/files/maven2" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dependencies { |
|
|
|
|
|
|
|
classpath "nl.eveoh:gradle-aspectj:1.2" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ext.aspectjVersion = '1.7.4' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
apply plugin: 'aspectj' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
repositories { |
|
|
|
|
|
|
|
mavenCentral() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//指定构建的jdk版本 |
|
|
|
//指定构建的jdk版本 |
|
|
|
sourceCompatibility=1.8 |
|
|
|
sourceCompatibility=1.8 |
|
|
|
//指定生成jar包版本 |
|
|
|
//指定生成jar包版本 |
|
|
|