version = "1.0.0-SNAPSHOT" dependencies { compileOnly(project(":paper-api")) } tasks.processResources { val apiVersion = rootProject.providers.gradleProperty("mcVersion").get() val props = mapOf( "version" to project.version, "apiversion" to "\"$apiVersion\"", ) inputs.properties(props) filesMatching("paper-plugin.yml") { expand(props) } }