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