2019-09-22 20:42:26 +00:00
|
|
|
import org.gradle.api.Project
|
|
|
|
|
2019-08-26 04:45:03 +00:00
|
|
|
object Versions {
|
2020-04-01 01:13:32 +00:00
|
|
|
const val TEXT = "3.0.3"
|
|
|
|
const val TEXT_EXTRAS = "3.0.3"
|
2020-02-05 05:37:42 +00:00
|
|
|
const val PISTON = "0.5.2"
|
2020-04-01 01:13:32 +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)
|