From 7c84f65f462d12541fcdadd25b57d63781f9dee8 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Wed, 12 Jun 2024 07:30:12 +0200 Subject: [PATCH] Jitpack publish libCore --- IOIOLibCore/build.gradle | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/IOIOLibCore/build.gradle b/IOIOLibCore/build.gradle index e505ccca..1f18f69a 100644 --- a/IOIOLibCore/build.gradle +++ b/IOIOLibCore/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'java' +apply plugin: 'maven-publish' task generateVersionFile(type: GenerateVersion) { version = versionString @@ -41,3 +42,13 @@ class GenerateVersion extends DefaultTask { properties.store(file.newWriter(), null) } } + +publishing { + publications { + release(MavenPublication) { + afterEvaluate { + from components.findByName('release') + } + } + } +}