geforkt von Mirrors/FastAsyncWorldEdit
21 Zeilen
564 B
Kotlin
21 Zeilen
564 B
Kotlin
import org.gradle.api.Project
|
|
|
|
object Versions {
|
|
const val TEXT = "3.0.1"
|
|
const val TEXT_EXTRAS = "3.0.2"
|
|
const val PISTON = "0.5.3-SNAPSHOT"
|
|
const val AUTO_VALUE = "1.6.5"
|
|
const val JUNIT = "5.5.0"
|
|
const val MOCKITO = "3.0.0"
|
|
const val LOGBACK = "1.2.3"
|
|
}
|
|
|
|
// Properties that need a project reference to resolve:
|
|
class ProjectVersions(project: Project) {
|
|
val loom = project.rootProject.property("loom.version")
|
|
val mixin = project.rootProject.property("mixin.version")
|
|
}
|
|
|
|
val Project.versions
|
|
get() = ProjectVersions(this)
|