From 7c95938068fe451f12160c3580bb3fbb5070e8df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rg=20Prante?= Date: Thu, 13 May 2021 21:04:18 +0200 Subject: [PATCH] update to gradle 6.6.1, jackson 2.11.4 --- .travis.yml | 4 --- build.gradle | 3 ++- gradle.properties | 2 +- gradle/publish/ivy.gradle | 27 +++++++++++++++++++ .../{publication.gradle => maven.gradle} | 0 5 files changed, 30 insertions(+), 6 deletions(-) delete mode 100644 .travis.yml create mode 100644 gradle/publish/ivy.gradle rename gradle/publish/{publication.gradle => maven.gradle} (100%) diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b2244db..0000000 --- a/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: java -jdk: - - openjdk11 - diff --git a/build.gradle b/build.gradle index eae867a..2f44b1f 100644 --- a/build.gradle +++ b/build.gradle @@ -29,6 +29,7 @@ subprojects { apply from: rootProject.file('gradle/compile/java.gradle') apply from: rootProject.file('gradle/test/junit5.gradle') apply from: rootProject.file('gradle/documentation/asciidoc.gradle') - apply from: rootProject.file('gradle/publish/publication.gradle') + apply from: rootProject.file('gradle/publish/maven.gradle') + apply from: rootProject.file('gradle/publish/ivy.gradle') } apply from: rootProject.file('gradle/publish/sonatype.gradle') diff --git a/gradle.properties b/gradle.properties index 54ab83f..2db0987 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,5 +3,5 @@ name = net version = 2.1.1 gradle.wrapper.version = 6.6.1 -jackson.version = 2.9.10 +jackson.version = 2.11.4 asciidoclet.version = 1.5.6 diff --git a/gradle/publish/ivy.gradle b/gradle/publish/ivy.gradle new file mode 100644 index 0000000..fe0a848 --- /dev/null +++ b/gradle/publish/ivy.gradle @@ -0,0 +1,27 @@ +apply plugin: 'ivy-publish' + +publishing { + repositories { + ivy { + url = "https://xbib.org/repo" + } + } + publications { + ivy(IvyPublication) { + from components.java + descriptor { + license { + name = 'The Apache License, Version 2.0' + url = 'http://www.apache.org/licenses/LICENSE-2.0.txt' + } + author { + name = 'Jörg Prante' + url = 'http://example.com/users/jane' + } + descriptor.description { + text = rootProject.ext.description + } + } + } + } +} \ No newline at end of file diff --git a/gradle/publish/publication.gradle b/gradle/publish/maven.gradle similarity index 100% rename from gradle/publish/publication.gradle rename to gradle/publish/maven.gradle