Skip to content

Commit

Permalink
updated examples and properties for 4.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasbehr committed Aug 6, 2024
1 parent 6fcc3ab commit d7e7885
Show file tree
Hide file tree
Showing 26 changed files with 30 additions and 30 deletions.
6 changes: 3 additions & 3 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Depending on your build system, you will use [`AntRun`](http://maven.apache.org/
Download the bundle from the [Github release page](https://github.com/yWorks/yguard/releases/latest). After downloading and extracting the `jar` 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 `yguard` element like so:

```xml
<property name="version" value="4.1.0"/>
<property name="version" value="4.1.1"/>

<target name="yguard">
<taskdef name="yguard" classname="com.yworks.yguard.YGuardTask" classpath="${projectDir}/yguard-${version}.jar"/>
Expand All @@ -23,7 +23,7 @@ You can use `yGuard` directly from `Maven` central. Add the `yGuard` dependency
<dependency>
<groupId>com.yworks</groupId>
<artifactId>yguard</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
<scope>compile</scope>
</dependency>
```
Expand Down Expand Up @@ -64,7 +64,7 @@ repositories {
}
dependencies {
compileOnly 'com.yworks:yguard:4.1.0'
compileOnly 'com.yworks:yguard:4.1.1'
}
task yguard {
Expand Down
4 changes: 2 additions & 2 deletions examples/annotation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ configurations {
}

dependencies {
yguard 'com.yworks:yguard:4.1.0'
compile 'com.yworks:annotation:4.1.0'
yguard 'com.yworks:yguard:4.1.1'
compile 'com.yworks:annotation:4.1.1'
}

task obfuscate {
Expand Down
2 changes: 1 addition & 1 deletion examples/annotation/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<property name="project.dir" value="${basedir}/../.."/>
<property name="source.dir" value="${basedir}/src"/>
<property name="target.dir" value="${basedir}/build"/>
<property name="yguard.version" value="4.1.0"/>
<property name="yguard.version" value="4.1.1"/>

<property name="project.name" value="annotation"/>
<property name="project.jar.unobf" value="${target.dir}/jar/${project.name}_unobf.jar"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/annotation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
<dependency>
<groupId>com.yworks</groupId>
<artifactId>yguard</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.yworks</groupId>
<artifactId>annotation</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 1 addition & 1 deletion examples/application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ configurations {
}

dependencies {
yguard 'com.yworks:yguard:4.1.0'
yguard 'com.yworks:yguard:4.1.1'
}

task obfuscate {
Expand Down
2 changes: 1 addition & 1 deletion examples/application/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<property name="project.dir" value="${basedir}/../.."/>
<property name="source.dir" value="${basedir}/src"/>
<property name="target.dir" value="${basedir}/build"/>
<property name="yguard.version" value="4.1.0"/>
<property name="yguard.version" value="4.1.1"/>

<property name="project.name" value="application"/>
<property name="project.jar.unobf" value="${target.dir}/jar/${project.name}_unobf.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>com.yworks</groupId>
<artifactId>yguard</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion examples/external_library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ configurations {
}

dependencies {
yguard 'com.yworks:yguard:4.1.0'
yguard 'com.yworks:yguard:4.1.1'
gson 'com.google.code.gson:gson:2.8.9'
implementation configurations.gson.dependencies
}
Expand Down
2 changes: 1 addition & 1 deletion examples/external_library/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<property name="libraryDir" value="${basedir}/lib"/>
<property name="source.dir" value="${basedir}/src"/>
<property name="target.dir" value="${basedir}/build"/>
<property name="yguard.version" value="4.1.0"/>
<property name="yguard.version" value="4.1.1"/>

<property name="project.name" value="external_library"/>
<property name="project.jar.unobf" value="${target.dir}/jar/${project.name}_unobf.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/external_library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>com.yworks</groupId>
<artifactId>yguard</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion examples/fxml/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ configurations {
}

dependencies {
yguard 'com.yworks:yguard:4.1.0'
yguard 'com.yworks:yguard:4.1.1'
}

task obfuscate {
Expand Down
2 changes: 1 addition & 1 deletion examples/fxml/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<property name="project.dir" value="${basedir}/../.."/>
<property name="source.dir" value="${basedir}/src"/>
<property name="target.dir" value="${basedir}/build"/>
<property name="yguard.version" value="4.1.0"/>
<property name="yguard.version" value="4.1.1"/>

<property name="project.name" value="fxml"/>
<property name="project.jar.unobf" value="${target.dir}/jar/${project.name}_unobf.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/fxml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<dependency>
<groupId>com.yworks</groupId>
<artifactId>yguard</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion examples/library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ configurations {
}

dependencies {
yguard 'com.yworks:yguard:4.1.0'
yguard 'com.yworks:yguard:4.1.1'
}

task obfuscate {
Expand Down
2 changes: 1 addition & 1 deletion examples/library/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<property name="project.dir" value="${basedir}/../.."/>
<property name="source.dir" value="${basedir}/src"/>
<property name="target.dir" value="${basedir}/build"/>
<property name="yguard.version" value="4.1.0"/>
<property name="yguard.version" value="4.1.1"/>

<property name="project.name" value="library"/>
<property name="project.jar.unobf" value="${target.dir}/jar/${project.name}_unobf.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<dependency>
<groupId>com.yworks</groupId>
<artifactId>yguard</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion examples/processing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ configurations {

dependencies {
implementation('org.springframework.boot:spring-boot-starter')
yguard 'com.yworks:yguard:4.1.0'
yguard 'com.yworks:yguard:4.1.1'
}

task obfuscate {
Expand Down
2 changes: 1 addition & 1 deletion examples/processing/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<property name="source.dir" value="${basedir}/src"/>
<property name="target.dir" value="${basedir}/build"/>
<property name="bundleDir" value="${target.dir}/jar"/>
<property name="yguard.version" value="4.1.0"/>
<property name="yguard.version" value="4.1.1"/>

<property name="project.name" value="processing"/>
<property name="project.jar.unobf" value="${bundleDir}/${project.name}_unobf.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/processing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<dependency>
<groupId>com.yworks</groupId>
<artifactId>yguard</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
<!--
prevent the spring boot plug-in from bundling yGuard and its
dependencies into the project jar / project build artefact
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ configurations {
}

dependencies {
yguard 'com.yworks:yguard:4.1.0'
yguard 'com.yworks:yguard:4.1.1'
}

task obfuscate {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<property name="project.dir" value="${basedir}/../.."/>
<property name="source.dir" value="${basedir}/src"/>
<property name="target.dir" value="${basedir}/build"/>
<property name="yguard.version" value="4.1.0"/>
<property name="yguard.version" value="4.1.1"/>

<property name="project.name" value="resources"/>
<property name="project.jar.unobf" value="${target.dir}/jar/${project.name}_unobf.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>com.yworks</groupId>
<artifactId>yguard</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion examples/serializable_exclusion/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ configurations {
}

dependencies {
yguard 'com.yworks:yguard:4.1.0'
yguard 'com.yworks:yguard:4.1.1'
}

task obfuscate {
Expand Down
2 changes: 1 addition & 1 deletion examples/serializable_exclusion/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<property name="project.dir" value="${basedir}/../.."/>
<property name="source.dir" value="${basedir}/src"/>
<property name="target.dir" value="${basedir}/build"/>
<property name="yguard.version" value="4.1.0"/>
<property name="yguard.version" value="4.1.1"/>

<property name="project.name" value="serializable_exclusion"/>
<property name="project.jar.unobf" value="${target.dir}/jar/${project.name}_unobf.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/serializable_exclusion/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<dependency>
<groupId>com.yworks</groupId>
<artifactId>yguard</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_MAJOR=4.1
VERSION_MINOR=1-SNAPSHOT
VERSION_MINOR=1

POM_DESCRIPTION=The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts
POM_URL=https://github.com/yWorks/yGuard
Expand Down

0 comments on commit d7e7885

Please sign in to comment.