plugins {
// Apply the Java plugin to your Gradle project
java
// Apply the RuneMate plugin to your Gradle project
// The latest version of the Gradle plugin can be found here:
Gradle - Plugin: com.runemate
id("com.runemate") version "1.5.2"
}
//Used to configure various aspects of the RuneMate plugin
runemate {
devMode.set(true)
autoLogin.set(true)
manifests {
create("partykillerBot") {
mainClass = "com.runemate.partykiller.partykillerBot"
tagline = "Knifecom.runemate.partykiller.partykillerBot"
description = "to assist in bot development."
version = "2.5.1"
internalId = "devkitcom.runemate.partykiller.partykillerBot"
//Optional: Everything else
// access = Access.PUBLIC
hidden = false
//categories(Category.DEVELOPER_TOOLS)
tags("devkit", "debug")
resources {
include("css/DevelopmentToolkitPage.css")
include("fxml/DevelopmentToolkitPage.fxml")
include("fxml/QueryBuilderPage.fxml")
}
//Tailors the variant pricing of the bot, can omit entirely for free bots
variants {
variant("Premium", 0.20)
}
//Tailors the trial for premium bots
trial {
//window = Duration.ofDays(7) //or window("ISO-8601 duration format")
//allowance = Duration.ofHours(3) //or allowance("ISO-8601 duration format")
}
//Advanced (Optional): Used to declare the use and optionality of advanced features
//This is required if using direct input, optional otherwise
features {
// required(FeatureType.DIRECT_INPUT)
}
//Advanced (Optional): Used to tailor obfuscation
obfuscation {
exclude("class.i.dont.want.t

bfuscate")
}
//Optional: Enabling this will cause the plugin to skip this manifest during the generation phase
skip = false
//Optional: Enabling this will effectively delete the bot from the store
hidden = false
}
}
}
//Sets the project language level to 17
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}