2019-09-22 20:42:26 +00:00
|
|
|
import org.gradle.api.Project
|
|
|
|
|
2019-08-26 04:45:03 +00:00
|
|
|
object Versions {
|
2020-06-13 18:41:36 +00:00
|
|
|
const val TEXT = "3.0.4"
|
|
|
|
const val TEXT_EXTRAS = "3.0.5"
|
2020-07-14 02:50:59 +00:00
|
|
|
const val PISTON = "0.5.6"
|
2020-04-12 02:38:46 +00:00
|
|
|
const val AUTO_VALUE = "1.7"
|
|
|
|
const val JUNIT = "5.6.1"
|
|
|
|
const val MOCKITO = "3.3.3"
|
2020-01-11 03:32:12 +00:00
|
|
|
const val LOGBACK = "1.2.3"
|
2019-08-26 04:45:03 +00:00
|
|
|
}
|
2019-09-22 20:42:26 +00: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)
|