blob: ec967da617e7241b33096d913c29338e0693e72d [file] [log] [blame]
Xia Kaixiang95e88482019-04-08 17:56:29 +08001pluginManagement {
Tang Chenge4dd0882019-04-09 13:10:47 +08002 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
8 } else if(requested.id.namespace.startsWith("org.springframework")) {
9 println "Springboot version $springbootVersion"
10 useVersion springbootVersion
11 }
12 }
13 }
14 }
Xia Kaixiang95e88482019-04-08 17:56:29 +080015 repositories {
16 gradlePluginPortal()
17 }
18}
Tang Cheng6097e2b2019-04-29 16:28:02 +080019rootProject.name = 'payapi'
Tang Chenge4dd0882019-04-09 13:10:47 +080020