11plugins {
22 id ' java-gradle-plugin'
3- id " com.gradle.plugin-publish" version " 1.0 .0"
3+ id " com.gradle.plugin-publish" version " 1.1 .0"
44 id " org.jetbrains.gradle.plugin.idea-ext" version " 1.0"
55}
66
@@ -11,7 +11,7 @@ repositories {
1111group ' org.scoverage'
1212description = ' gradle-scoverage is a Gradle plugin for calculating code coverage using Scoverage'
1313if (project. version == ' unspecified' ) {
14- version = ' 7 .0.0-SNAPSHOT'
14+ version = ' 8 .0.0-SNAPSHOT'
1515}
1616ext {
1717 website = ' http://scoverage.org'
@@ -22,22 +22,19 @@ ext {
2222}
2323
2424gradlePlugin {
25+ website = project. ext. website
26+ vcsUrl = project. ext. vcsUrl
27+ description = project. description
2528 plugins {
2629 gradleScoverage {
2730 id = ' org.scoverage'
2831 implementationClass = ' org.scoverage.ScoveragePlugin'
2932 displayName = ' Gradle Scoverage plugin'
33+ tags. set([' coverage' , ' scala' , ' scoverage' ])
3034 }
3135 }
3236}
3337
34- pluginBundle {
35- website = project. website
36- vcsUrl = ext. vcsUrl
37- description = project. description
38- tags = [' coverage' , ' scala' , ' scoverage' ]
39- }
40-
4138apply plugin : ' maven-publish'
4239apply plugin : ' groovy'
4340
@@ -46,7 +43,8 @@ targetCompatibility = '1.8'
4643
4744
4845dependencies {
49- compileOnly " org.scoverage:scalac-scoverage-plugin_2.13:1.4.2"
46+ compileOnly " org.scoverage:scalac-scoverage-plugin_2.13.8:2.0.7"
47+ compileOnly " org.scoverage:scalac-scoverage-reporter_2.13:2.0.7"
5048 implementation group : ' commons-io' , name : ' commons-io' , version : ' 2.6'
5149
5250 testImplementation ' junit:junit:4.12'
@@ -116,7 +114,7 @@ gradlePlugin {
116114
117115task groovydocJar (type : Jar , dependsOn : groovydoc) {
118116 from " $buildDir /docs/groovydoc"
119- classifier ' groovydoc'
117+ archiveClassifier . set( ' groovydoc' )
120118}
121119
122120def propOrDefault (String property ) {
0 commit comments