Skip to content

Commit

Permalink
switched to newer version of Kordamp plugins
Browse files Browse the repository at this point in the history
and using the Coveralls plugin from Kordamp
  • Loading branch information
musketyr committed Nov 25, 2020
1 parent acf1293 commit 55ea5a3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 17 deletions.
16 changes: 0 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
plugins {
id 'org.kordamp.gradle.groovy-project'
id 'org.kordamp.gradle.bintray'
id 'com.github.kt3k.coveralls'
}

if (!project.hasProperty('bintrayUsername')) ext.bintrayUsername = '**UNDEFINED**'
Expand Down Expand Up @@ -179,18 +178,3 @@ subprojects { Project subproject ->
}
}
}

gradle.taskGraph.whenReady {
coveralls {
sourceDirs = subprojects.findAll { it.plugins.hasPlugin('java') } sourceSets.main.allSource.srcDirs.flatten()
jacocoReportPath = "${buildDir}/reports/jacoco/root/jacocoTestReport.xml"
}
}

tasks.coveralls {
group = 'Coverage reports'
description = 'Uploads the aggregated coverage report to Coveralls'

dependsOn jacocoRootReport
onlyIf { System.env.CI || System.env.GITHUB_ACTIONS }
}
18 changes: 18 additions & 0 deletions examples/micronaut-grails-example/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
#
# SPDX-License-Identifier: Apache-2.0
#
# Copyright 2020 Vladimir Orany.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

grailsVersion=4.0.4
gorm.version=7.0.6.RELEASE
org.gradle.daemon=true
Expand Down
20 changes: 19 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
#
# SPDX-License-Identifier: Apache-2.0
#
# Copyright 2020 Vladimir Orany.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

slug=agorapulse/micronaut-grails
group=com.agorapulse
version = 2.0.0-SNAPSHOT
Expand All @@ -12,7 +30,7 @@ awsSdkVersion = 1.11.656
awsSdk2Version = 2.9.24
testcontainersVersion = 1.12.1
groovyClosureSupportVersion = 0.6.0
kordampVersion=0.30.4
kordampVersion=0.36.0

# this should be aligned to Micronaut version
# required for AWS CBOR marshalling
Expand Down

0 comments on commit 55ea5a3

Please sign in to comment.