From a3c7855823d4fc2681122e17d5133bbb27fee1b1 Mon Sep 17 00:00:00 2001 From: Matyrobbrt Date: Wed, 1 Nov 2023 10:34:05 +0200 Subject: [PATCH] Use the ext plugin --- build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index dcecdb7..58d45ea 100644 --- a/build.gradle +++ b/build.gradle @@ -21,8 +21,10 @@ repositories { } if (System.getenv('GPP_KEY')) { - project.setProperty('gradle.publish.key', System.getenv('GPP_KEY')) - project.setProperty('gradle.publish.secret', System.getenv('GPP_SECRET')) + project.ext { + set('gradle.publish.key', System.getenv('GPP_KEY')) + set('gradle.publish.secret', System.getenv('GPP_SECRET')) + } } dependencies {