just updating plugin usage
buildscript {
repositories {
mavenCentral()
- maven {
- url "https://plugins.gradle.org/m2/"
- }
}
dependencies {
classpath('org.springframework.boot:spring-boot-gradle-plugin:1.5.2.RELEASE')
classpath "org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.1"
- classpath "gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0"
}
}
-apply plugin: 'com.github.hierynomus.license'
-apply plugin: 'groovy'
-apply plugin: 'eclipse'
-apply plugin: 'maven'
-apply plugin: 'org.springframework.boot'
-apply plugin: 'jacoco'
-apply plugin: 'com.github.kt3k.coveralls'
+plugins {
+ id 'groovy'
+ id 'eclipse'
+ id 'maven'
+ id 'org.springframework.boot' version '1.5.2.RELEASE'
+ id 'jacoco'
+ id 'com.github.kt3k.coveralls' version '2.8.1'
+ id 'com.github.hierynomus.license' version '0.14.0'
+}
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
tasks.withType(GroovyCompile) { options.encoding = 'UTF-8' }
