You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: setup.html
+27-31Lines changed: 27 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -570,7 +570,7 @@ <h2 id="setup">Setup</h2>
570
570
<p>Depending on your build system, you will use <ahref="http://maven.apache.org/plugins/maven-antrun-plugin/"><code>AntRun</code></a> or <code>Ant</code> directly to run <code>yGuard</code>.</p>
571
571
<h3id="setup-using-ant">Setup using <code>Ant</code></h3>
572
572
<p>Download the bundle from the <ahref="https://github.com/yWorks/yguard/releases/latest">Github release page</a>. After downloading and extracting the <code>jar</code> files, place them in a path near to your build script. You may use absolute paths, but our examples expect the jar file to lie in the same directory as your build file. Once extracted, you can use the <code>yguard</code> element like so:</p>
<!-- see the yGuard task documentation for information about the <yguard> element-->
608
-
</yguard>
609
-
</tasks>
610
-
</configuration>
594
+
<goals>
595
+
<goal>run</goal>
596
+
</goals>
611
597
</execution>
612
-
</executions>
613
-
</plugin>
598
+
</executions>
599
+
<configuration>
600
+
<yguardVersion>5.0.0</yguardVersion>
601
+
<yguard>
602
+
<!-- see the yGuard task documentation for information about the <yguard> element -->
603
+
</yguard>
604
+
</configuration>
605
+
</plugin>
606
+
[...]
607
+
</plugins>
608
+
[...]
609
+
</build>
614
610
</code></pre>
615
611
<h3id="setup-using-gradle">Setup using <code>Gradle</code></h3>
616
612
<p>You can use <code>yGuard</code> directly from <code>Maven</code> central. You can define and use <code>yGuard</code> in your <code>build.gradle</code>:</p>
@@ -619,7 +615,7 @@ <h3 id="setup-using-gradle">Setup using <code>Gradle</code></h3>
0 commit comments