This repository was archived by the owner on Mar 31, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /*
2+ * The MIT License (MIT)
3+ * Copyright (c) 2017 Sybit GmbH
4+ *
5+ * Permission is hereby granted, free of charge, to any person obtaining a copy
6+ */
7+
18/*
29 * Gets the version name from the latest Git tag
310 */
@@ -14,12 +21,6 @@ def getVersionName = { ->
1421 return version;
1522 }
1623}
17- /*
18- * The MIT License (MIT)
19- * Copyright (c) 2017 Sybit GmbH
20- *
21- * Permission is hereby granted, free of charge, to any person obtaining a copy
22- */
2324
2425buildscript {
2526 repositories {
@@ -79,23 +80,6 @@ dependencies {
7980 codacy group : ' com.codacy' , name : ' codacy-coverage-reporter' , version : ' 1.0.13'
8081}
8182
82- /*
83- * Gets the version name from the latest Git tag
84- */
85- def getVersionName = { ->
86- try {
87- def stdout = new ByteArrayOutputStream ()
88- exec {
89- commandLine ' git' , ' describe' , ' --tags'
90- standardOutput = stdout
91- }
92- return stdout. toString(). trim()
93- }
94- catch (ignored) {
95- return version;
96- }
97- }
98-
9983// custom tasks for creating source jar
10084task sourcesJar (type : Jar , dependsOn : classes) {
10185 classifier = ' sources'
@@ -160,4 +144,4 @@ bintray {
160144 released = new Date ()
161145 }
162146 }
163- }
147+ }
You can’t perform that action at this time.
0 commit comments