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 18:11:21 UTC
[groovy] 02/02: base binary compatibility report for 4 on 3.0 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 master
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 6f0e49193ca3a114d4d13c54172d33039c3a0e24
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri Dec 20 02:33:24 2019 +1000
base binary compatibility report for 4 on 3.0 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..826af9f 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"
+ "performance", "tests-vm8", "binary-compatibility"
]
-def compatibilityBaselineVersion = "2.4.15"
+def compatibilityBaselineVersion = "3.0.0-rc-2"
def thisProject = project