Gradle
Apply net.st3ix.veyl. JAR uploads to the Veyl worker after jar / shadowJar.
Plugin id: net.st3ix.veyl (current: 1.0.10 on the Gradle Plugin Portal).
Source: github.com/offst3ix/gradle-veyl · Site: veyl.st3ix.net
settings.gradle
pluginManagement must be the first block:
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
}
}
rootProject.name = 'MyPlugin'If rootProject.name appears above pluginManagement, Gradle fails with a settings compile error.
build.gradle
plugins {
id 'java'
id 'net.st3ix.veyl' version '1.0.10'
}
veyl {
rename = true
aesStrings = true
hiddenNumbers = true
hiddenCalls = true
controlFlow = true
keep 'me.example.MyPlugin'
}Build
gradlew clean buildObfuscation runs after jar (and shadowJar if present). Tasks: veylObfuscateJar / veylObfuscateShadowJar. The archive is uploaded; the worker returns the protected JAR.
Options
Prop
Type
Also: keep '…' / keeps for DSL keep entries.