From 9173be0c9fead5da6a66246aa9a5830c65c5e4ae Mon Sep 17 00:00:00 2001 From: "Banse, Christian" Date: Fri, 31 Jan 2020 10:32:28 +0100 Subject: [PATCH] Setting version in gradle.properties for gradle release plugin --- .gitignore | 1 - build.gradle.kts | 4 ---- gradle.properties | 27 +++++++++++++++++++++++++++ 3 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 gradle.properties diff --git a/.gitignore b/.gitignore index 2c8cc2f60f..d89a1c9b2e 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,6 @@ bin log .volumes out -gradle.properties .data/ logs /lsp/*.log diff --git a/build.gradle.kts b/build.gradle.kts index 4e81fddda6..2db1a88d4d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -24,9 +24,6 @@ * */ -val deployUsername: String? by extra // imported from settings.gradle.kts -val deployPassword: String? by extra // imported from settings.gradle.kts - plugins { // built-in java @@ -48,7 +45,6 @@ tasks.jacocoTestReport { } group = "de.fraunhofer.aisec" -version = "1.3-SNAPSHOT" extra["isReleaseVersion"] = !version.toString().endsWith("SNAPSHOT") diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000000..29565054e9 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,27 @@ +# +# Copyright (c) 2019, Fraunhofer AISEC. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# $$$$$$\ $$$$$$$\ $$$$$$\ +# $$ __$$\ $$ __$$\ $$ __$$\ +# $$ / \__|$$ | $$ |$$ / \__| +# $$ | $$$$$$$ |$$ |$$$$\ +# $$ | $$ ____/ $$ |\_$$ | +# $$ | $$\ $$ | $$ | $$ | +# \$$$$$ |$$ | \$$$$$ | +# \______/ \__| \______/ +# +# + +version=1.3-SNAPSHOT