File tree 3 files changed +41
-1
lines changed
3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ plugins {
11
11
12
12
description = ' Generic mapping service supporting different mapping implementations.'
13
13
group = ' edu.kit.datamanager'
14
- version = ' 0.1.0-SNAPSHOT'
15
14
16
15
println " Running gradle version: $gradle . gradleVersion "
17
16
println " Building ${ name} version: ${ version} "
@@ -28,6 +27,11 @@ configurations {
28
27
sourceCompatibility = 1.17
29
28
targetCompatibility = 1.17
30
29
30
+ if (project. hasProperty(' release' )) {
31
+ println ' Using \' release\' profile for building ' + project. getName()
32
+ apply from : ' gradle/profile-deploy.gradle'
33
+ }
34
+
31
35
repositories {
32
36
mavenLocal()
33
37
mavenCentral()
@@ -121,6 +125,9 @@ jar {
121
125
manifest {
122
126
attributes ' Main-Class' : ' edu.kit.datamanager.mapping-service.MappingServiceApplication'
123
127
}
128
+ archiveBaseName = ' mapping-service'
129
+ // version is defined in file 'gradle.properties'
130
+ archiveVersion = System . getenv(' version' )
124
131
}
125
132
126
133
springBoot {
Original file line number Diff line number Diff line change
1
+ systemProp.jdk.tls.client.protocols =" TLSv1,TLSv1.1,TLSv1.2"
2
+
3
+ version =1.0.0-SNAPSHOT
4
+ action.custom-1 =allTests
5
+ action.custom-1.args =--configure-on-demand -w -x check
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2021 Karlsruhe Institute of Technology.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ // //////////////////////////////////////////////////////////////////////////////
18
+ // for plugin net.researchgate.release
19
+ // see https://github.com/researchgate/gradle-release
20
+ // //////////////////////////////////////////////////////////////////////////////
21
+ release {
22
+ // define template for tagging, e.g. v1.0.0
23
+ tagTemplate = ' v${version}'
24
+ // set source file of version property
25
+ versionPropertyFile = ' gradle.properties'
26
+ // set possible properties which may contain the version
27
+ versionProperties = [' version' , ' mainversion' ]
28
+ }
You can’t perform that action at this time.
0 commit comments