fix(gradle): engine-test does not need to make its own -SNAPSHOT determinations
This was overlooked in and as a result engine-test was making versions like `4.2.0-SNAPSHOT-SNAPSHOT`
-/*
- * Copyright 2020 MovingBlocks
- *
- * 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
- *
- * https://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.
- */
+// Copyright 2020 The Terasology Foundation
+// SPDX-License-Identifier: Apache-2.0
// Engine tests are split out due to otherwise quirky project dependency issues with module tests extending engine tests
@@ -46,11 +33,6 @@ def moduleConfig = slurper.parseText(moduleFile.text)
// Gradle uses the magic version variable when creating the jar name (unless explicitly set differently)
version = moduleConfig.version
-// The only case in which we make non-snapshots is when BRANCH_NAME exists and contains "master" - otherwise snapshots
-if (env.BRANCH_NAME == null || !env.BRANCH_NAME.equals("master")) {
- version += "-SNAPSHOT"
-}
-
// Jenkins-Artifactory integration catches on to this as part of the Maven-type descriptor
group = 'org.terasology.engine'
