Skip to content

Commit 79890d5

Browse files
committed
Deploying to gh-pages from @ 1cbb171 🚀
1 parent 4d1b0cf commit 79890d5

4 files changed

Lines changed: 29 additions & 33 deletions

File tree

search/search_index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

setup.html

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ <h2 id="setup">Setup</h2>
570570
<p>Depending on your build system, you will use <a href="http://maven.apache.org/plugins/maven-antrun-plugin/"><code>AntRun</code></a> or <code>Ant</code> directly to run <code>yGuard</code>.</p>
571571
<h3 id="setup-using-ant">Setup using <code>Ant</code></h3>
572572
<p>Download the bundle from the <a href="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>
573-
<pre><code class="language-xml">&lt;property name=&quot;version&quot; value=&quot;4.1.1&quot;/&gt;
573+
<pre><code class="language-xml">&lt;property name=&quot;version&quot; value=&quot;5.0.0&quot;/&gt;
574574

575575
&lt;target name=&quot;yguard&quot;&gt;
576576
&lt;taskdef name=&quot;yguard&quot; classname=&quot;com.yworks.yguard.YGuardTask&quot; classpath=&quot;${projectDir}/yguard-${version}.jar&quot;/&gt;
@@ -580,37 +580,33 @@ <h3 id="setup-using-ant">Setup using <code>Ant</code></h3>
580580
&lt;/target&gt;
581581
</code></pre>
582582
<h3 id="setup-using-maven">Setup using <code>Maven</code></h3>
583-
<p>You can use <code>yGuard</code> directly from <code>Maven</code> central. Add the <code>yGuard</code> dependency to your <code>POM</code>:</p>
584-
<pre><code class="language-xml">&lt;dependency&gt;
585-
&lt;groupId&gt;com.yworks&lt;/groupId&gt;
586-
&lt;artifactId&gt;yguard&lt;/artifactId&gt;
587-
&lt;version&gt;4.1.1&lt;/version&gt;
588-
&lt;scope&gt;compile&lt;/scope&gt;
589-
&lt;/dependency&gt;
590-
</code></pre>
591-
<p>Once declared, you can use the <code>antrun</code> plugin to define the <code>yGuard</code> task like so:</p>
592-
<pre><code class="language-xml">&lt;plugin&gt;
593-
&lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
594-
&lt;version&gt;1.8&lt;/version&gt;
595-
&lt;executions&gt;
583+
<p>Use the <a href="https://github.com/yWorks/yguard-maven-plugin">yGuard Maven Plugin</a> to run <code>yGuard</code> from <code>Maven</code>:</p>
584+
<pre><code class="language-xml">&lt;build&gt;
585+
[...]
586+
&lt;plugins&gt;
587+
[...]
588+
&lt;plugin&gt;
589+
&lt;groupId&gt;com.yworks.maven.plugins&lt;/groupId&gt;
590+
&lt;artifactId&gt;yguard-maven-plugin&lt;/artifactId&gt;
591+
&lt;version&gt;1.0.0&lt;/version&gt;
592+
&lt;executions&gt;
596593
&lt;execution&gt;
597-
&lt;phase&gt;package&lt;/phase&gt;
598-
&lt;goals&gt;
599-
&lt;goal&gt;run&lt;/goal&gt;
600-
&lt;/goals&gt;
601-
&lt;id&gt;obfuscate&lt;/id&gt;
602-
&lt;configuration&gt;
603-
&lt;tasks&gt;
604-
&lt;property name=&quot;runtime_classpath&quot; refid=&quot;maven.runtime.classpath&quot;/&gt;
605-
&lt;taskdef name=&quot;yguard&quot; classname=&quot;com.yworks.yguard.YGuardTask&quot; classpath=&quot;${runtime_classpath}&quot;/&gt;
606-
&lt;yguard&gt;
607-
&lt;!-- see the yGuard task documentation for information about the &lt;yguard&gt; element--&gt;
608-
&lt;/yguard&gt;
609-
&lt;/tasks&gt;
610-
&lt;/configuration&gt;
594+
&lt;goals&gt;
595+
&lt;goal&gt;run&lt;/goal&gt;
596+
&lt;/goals&gt;
611597
&lt;/execution&gt;
612-
&lt;/executions&gt;
613-
&lt;/plugin&gt;
598+
&lt;/executions&gt;
599+
&lt;configuration&gt;
600+
&lt;yguardVersion&gt;5.0.0&lt;/yguardVersion&gt;
601+
&lt;yguard&gt;
602+
&lt;!-- see the yGuard task documentation for information about the &lt;yguard&gt; element --&gt;
603+
&lt;/yguard&gt;
604+
&lt;/configuration&gt;
605+
&lt;/plugin&gt;
606+
[...]
607+
&lt;/plugins&gt;
608+
[...]
609+
&lt;/build&gt;
614610
</code></pre>
615611
<h3 id="setup-using-gradle">Setup using <code>Gradle</code></h3>
616612
<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>
619615
}
620616

621617
dependencies {
622-
compileOnly 'com.yworks:yguard:4.1.1'
618+
compileOnly 'com.yworks:yguard:5.0.0'
623619
}
624620

625621
task yguard {

sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)