最新的gradle按视频里配行不通啊,
buildscript {
ext {
springBootVersion = '2.1.0.RELEASE'
thymeleafVersion = '3.0.3.RELEASE'
thymeleafLayoutDialectVersion = '2.1.0'
}
repositories {
//mavenCentral()
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
}
dependencies {
classpath("org.thymeleaf:thymeleaf:${thymeleafVersion}")
classpath("nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:${thymeleafLayoutDialectVersion}")
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}老师,你看我这么写行不行,我可以运行通过,不知道有没有影响