You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/12/19 16:34:14 UTC
[groovy] branch GROOVY_3_0_X updated: base binary compatibility
report for 3 on 2.5 and workaround for gradle plugin bug (japicmp plugin
needs guava?)
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new 4334d7c base binary compatibility report for 3 on 2.5 and workaround for gradle plugin bug (japicmp plugin needs guava?)
4334d7c is described below
commit 4334d7c3c7ded7e620da6c506508ed1b32cdb72b
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri Dec 20 02:33:24 2019 +1000
base binary compatibility report for 3 on 2.5 and workaround for gradle plugin bug (japicmp plugin needs guava?)
---
subprojects/binary-compatibility/build.gradle | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/subprojects/binary-compatibility/build.gradle b/subprojects/binary-compatibility/build.gradle
index 3428201..4ad9b5b 100644
--- a/subprojects/binary-compatibility/build.gradle
+++ b/subprojects/binary-compatibility/build.gradle
@@ -18,9 +18,22 @@
*/
import me.champeau.gradle.japicmp.JapicmpTask
-plugins {
- id "me.champeau.gradle.japicmp" version "0.2.8"
+//plugins {
+// id "me.champeau.gradle.japicmp" version "0.2.8"
+//}
+buildscript {
+ repositories {
+ maven {
+ url "https://plugins.gradle.org/m2/"
+ }
+ }
+
+ dependencies {
+ classpath 'me.champeau.gradle:japicmp-gradle-plugin:0.2.8'
+ classpath 'com.google.guava:guava:27.0-jre'
+ }
}
+apply plugin: 'me.champeau.gradle.japicmp'
def checkBinaryCompatibility = tasks.register("checkBinaryCompatibility") {
description = "Generates binary compatibility reports"
@@ -32,12 +45,10 @@ tasks.check {
// for comparing between versions with different modules, set excludeModules to differing modules, e.g.
Set excludeModules = [
- "groovy-cli-picocli", "groovy-cli-commons", "groovy-dateutil", "groovy-datetime", "groovy-jaxb",
- "groovy-macro", "groovy-json-direct", "groovy-test-junit5", "groovy-yaml", "performance", "tests-vm8",
- "binary-compatibility"
+ "groovy-json-direct", "groovy-yaml", "performance", "tests-vm8", "binary-compatibility"
]
-def compatibilityBaselineVersion = "2.4.15"
+def compatibilityBaselineVersion = "2.5.8"
def thisProject = project