Skip to content

Commit

Permalink
Setting version in gradle.properties for gradle release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
oxisto committed Jan 31, 2020
1 parent b0b7bf2 commit 9173be0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ bin
log
.volumes
out
gradle.properties
.data/
logs
/lsp/*.log
4 changes: 0 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -48,7 +45,6 @@ tasks.jacocoTestReport {
}

group = "de.fraunhofer.aisec"
version = "1.3-SNAPSHOT"

extra["isReleaseVersion"] = !version.toString().endsWith("SNAPSHOT")

Expand Down
27 changes: 27 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9173be0

Please sign in to comment.