|
@@ -8,6 +8,8 @@
|
8
|
8
|
<property name="plugins.build.metadata" location="${plugins.build}/metadata"/>
|
9
|
9
|
<property name="plugins.dist" location="dist"/>
|
10
|
10
|
<property name="plugins.lib" location="lib"/>
|
|
11
|
+ <property name="plugins.source.level" value="1.7"/>
|
|
12
|
+ <property name="plugins.target.level" value="1.7"/>
|
11
|
13
|
|
12
|
14
|
<import file="build-ivy.xml" />
|
13
|
15
|
<import file="build-tests.xml"/>
|
|
@@ -53,7 +55,9 @@
|
53
|
55
|
<target name="compile" depends="-init-compile">
|
54
|
56
|
<javac srcdir="${plugins.src}" destdir="${plugins.build.classes}"
|
55
|
57
|
classpathref="plugins.classpath" includeantruntime="false"
|
56
|
|
- debug="true" deprecation="true">
|
|
58
|
+ debug="true" deprecation="true"
|
|
59
|
+ source="${plugins.source.level}"
|
|
60
|
+ target="${plugins.target.level}">
|
57
|
61
|
<compilerarg value="-Xlint:all"/>
|
58
|
62
|
<compilerarg value="-Xmaxwarns"/>
|
59
|
63
|
<compilerarg value="1000"/>
|