Skip to content

Commit 5233211

Browse files
committed
Move taskdef's into their targets.
1 parent dd38541 commit 5233211

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

build.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@
2424
</fileset>
2525
</path>
2626

27-
<!-- Additional build tools -->
28-
<taskdef resource="checkstyletask.properties"/>
29-
<taskdef resource="proguard/ant/task.properties"/>
30-
3127
<!-- Targets -->
3228

3329
<target name="init">
@@ -92,12 +88,14 @@
9288
</target>
9389

9490
<target name="check">
91+
<taskdef resource="checkstyletask.properties"/>
9592
<checkstyle config="checkstyle.xml">
9693
<fileset dir="src" includes="**/*.java"/>
9794
</checkstyle>
9895
</target>
9996

10097
<target name="optimize" depends="jar">
98+
<taskdef resource="proguard/ant/task.properties"/>
10199
<proguard>
102100
<libraryjar path="${java.home}/lib/rt.jar"/>
103101
<injar file="${dist.dir}/${jar.file}"/>

0 commit comments

Comments
 (0)