blob: 1dce1a4e02b853df17740398c84371aa93110ece [file] [log] [blame]
Xia Kaixiangd15331b2019-05-13 16:09:09 +08001pluginManagement {
2 resolutionStrategy {
3 eachPlugin {
4 if (requested.id.namespace != null) {
5 if (requested.id.namespace.startsWith("org.jetbrains.kotlin")) {
6 println "Kotlin version $kotlinVersion"
7 useVersion kotlinVersion
Tang Cheng468364f2019-07-10 14:22:26 +08008 } else if (requested.id.namespace.startsWith("org.springframework")) {
Xia Kaixiangd15331b2019-05-13 16:09:09 +08009 println "Springboot version $springbootVersion"
10 useVersion springbootVersion
11 }
12 }
13 }
14 }
15 repositories {
16 gradlePluginPortal()
17 }
18}
Tang Cheng468364f2019-07-10 14:22:26 +080019rootProject.name = 'restaurant'
Xia Kaixiangd15331b2019-05-13 16:09:09 +080020