GradleCN / GradleSide

Gradle 示例大全
MIT License
211 stars 61 forks source link

使用gradle-5.0-rc-5-all.zip的时候又报错,Error:No such property: GradleVersion for class: JetGradlePlugin为什么? #7

Open 2280908187 opened 5 years ago

2280908187 commented 5 years ago

gradle配置 group 'xxxxxx' version '1.0-SNAPSHOT'

apply plugin: 'java'

sourceCompatibility = 1.8

repositories { mavenLocal() maven { url "http://maven.aliyun.com/nexus/content/groups/public/"} mavenCentral() jcenter() maven { url "https://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/milestone" } maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/' } }

dependencies { testCompile group: 'junit', name: 'junit', version: '4.12' compile 'org.springframework:spring-webmvc:5.0.5.RELEASE' compile 'javax.validation:validation-api:2.0.1.Final' compile 'org.hibernate:hibernate-validator:5.1.0.Final' compile 'org.slf4j:slf4j-api:1.7.25' runtime 'javax.servlet:jstl:1.2' }

pkaq commented 5 years ago

换5.1.1试下?