2019-09-22 22:42:26 +02:00
|
|
|
import org.gradle.api.Project
|
|
|
|
|
2019-08-26 06:45:03 +02:00
|
|
|
object Versions {
|
|
|
|
const val TEXT = "3.0.1"
|
|
|
|
const val TEXT_EXTRAS = "3.0.2"
|
2019-10-23 06:23:52 +02:00
|
|
|
const val PISTON = "0.5.3-SNAPSHOT"
|
2019-08-26 06:45:03 +02:00
|
|
|
const val AUTO_VALUE = "1.6.5"
|
|
|
|
const val JUNIT = "5.5.0"
|
|
|
|
const val MOCKITO = "3.0.0"
|
2020-01-11 04:32:12 +01:00
|
|
|
const val LOGBACK = "1.2.3"
|
2019-08-26 06:45:03 +02:00
|
|
|
}
|
2019-09-22 22:42:26 +02:00
|
|
|
|
|
|
|
// 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)
|