|
|
@ -1,8 +1,28 @@ |
|
|
|
|
|
|
|
|
|
|
|
apply plugin: 'java' |
|
|
|
|
|
|
|
tasks.withType(JavaCompile){ |
|
|
|
tasks.withType(JavaCompile){ |
|
|
|
options.encoding = 'UTF-8' |
|
|
|
options.encoding = 'UTF-8' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
buildscript { |
|
|
|
|
|
|
|
repositories { |
|
|
|
|
|
|
|
maven { |
|
|
|
|
|
|
|
url "https://maven.eveoh.nl/content/repositories/releases" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dependencies { |
|
|
|
|
|
|
|
classpath "nl.eveoh:gradle-aspectj:1.6" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
repositories { |
|
|
|
|
|
|
|
mavenCentral() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
project.ext { |
|
|
|
|
|
|
|
aspectjVersion = '1.8.4' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
apply plugin: 'aspectj' |
|
|
|
|
|
|
|
|
|
|
|
//指定构建的jdk版本 |
|
|
|
//指定构建的jdk版本 |
|
|
|
sourceCompatibility=1.7 |
|
|
|
sourceCompatibility=1.7 |
|
|
|
//指定生成jar包版本 |
|
|
|
//指定生成jar包版本 |
|
|
|