From bd98e907caa2acb66ee07322ddbcc3df90054453 Mon Sep 17 00:00:00 2001 From: Mark Nellemann Date: Tue, 3 Jan 2023 15:09:05 +0100 Subject: [PATCH] Fix maven publish --- build.gradle | 8 ++++---- gradle.properties | 5 ----- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index d06b276..0b8c48b 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,6 @@ apply plugin: "groovy" apply plugin: 'jacoco' apply plugin: 'maven-publish' -sourceCompatibility = 1.8 -targetCompatibility = 1.8 - repositories { mavenCentral() } @@ -30,7 +27,10 @@ dependencies { publishing { publications { - all(MavenPublication) { + maven(MavenPublication) { + groupId = 'biz.nellemann.libs' + artifactId = 'libpaqle' + from components.java } } diff --git a/gradle.properties b/gradle.properties index 1be56c5..983bc5d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,9 +1,4 @@ -id = libpaqle -group = biz.nellemann.libs version = 1.0.5 -licenses = ['APACHE-2.0'] // or something else groovyVersion = 3.0.14 slf4jVersion = 2.0.6 spockVersion = 2.3-groovy-3.0 -siteUrl = https://bitbucket.org/mnellemann/libpaqle -gitUrl = https://bitbucket.org/mnellemann/libpaqle.git