- [versions]
- #if ($LANGUAGE == 'Kotlin')
- kotlin = "$KOTLIN_VERSION"
-
- #end
- velocity-api = "${VELOCITY_VERSION}"
-
- #if ($SHADOW_PLUGIN.enabled)
- shadow = "$SHADOW_PLUGIN.version"
- #end
- #if ($RUN_VELOCITY_PLUGIN.enabled)
- run-task = "$RUN_VELOCITY_PLUGIN.version"
- #end
- #if ($RESOURCE_FACTORY_PLUGIN.enabled)
- resource-factory = "$RESOURCE_FACTORY_PLUGIN.version"
- #end
- #if ($USE_BUILD_CONSTANTS_TEMPLATING)
- idea-ext = "$IDEA_EXT_PLUGIN.version"
- #end
-
- [libraries]
- velocity-api = { module = "com.velocitypowered:velocity-api", version.ref = "velocity-api" }
- #if ($LANGUAGE == 'Kotlin')
- kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
- #end
-
- [plugins]
- #if ($SHADOW_PLUGIN.enabled)
- shadow = { id = "com.gradleup.shadow", version.ref = "shadow" }
- #end
- #if ($RUN_VELOCITY_PLUGIN.enabled)
- run-velocity = { id = "xyz.jpenilla.run-velocity", version.ref = "run-task" }
- #end
- #if ($RESOURCE_FACTORY_PLUGIN.enabled)
- resource-factory-velocity = { id = "xyz.jpenilla.resource-factory-velocity-convention", version.ref = "resource-factory" }
- #end
- #if ($USE_BUILD_CONSTANTS_TEMPLATING)
- idea-ext = { id = "org.jetbrains.gradle.plugin.idea-ext", version.ref = "idea-ext" }
- #end