groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 02/02: base binary compatibility report for 4 on 3.0 and workaround for gradle plugin bug (japicmp plugin needs guava?)
Date Thu, 19 Dec 2019 18:11:21 GMT
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 <paulk@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
 


Mime
View raw message