Skip to content

Commit 37f9b1c

Browse files
committed
Removed axion-release plugin since fileUpdate not working properly
Use native GitHub release in future
1 parent 6d68c9e commit 37f9b1c

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

build.gradle

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ plugins {
1515
id 'java'
1616
id 'scala'
1717
id 'idea'
18-
id 'pl.allegro.tech.build.axion-release' version '1.4.1'
1918
id "com.github.maiflai.scalatest" version "0.14"
2019
id 'nu.studer.credentials' version '1.0.3'
2120
}
@@ -79,19 +78,3 @@ def getFolderFiles(path, suffix) {
7978
}
8079
return fileList
8180
}
82-
83-
def sourceFiles = getFolderFiles("$rootDir/src/", ".scala")
84-
85-
scmVersion {
86-
tag {
87-
prefix = 'swuiakht'
88-
}
89-
hooks {
90-
pre 'fileUpdate', [files: sourceFiles, pattern: { v, c -> /@version $v/ }, replacement: { v, c -> "@version $v" }]
91-
pre 'commit'
92-
}
93-
repository {
94-
customUsername = System.getenv("GITHUB_USERNAME") ?: credentials.githubUsername
95-
customPassword = System.getenv("GITHUB_PASSWORD") ?: credentials.githubPassword
96-
}
97-
}

src/main/scala/com/matfax/swuiakht/SwaggerUiRoute.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import akka.http.scaladsl.server.{Directives, Route}
1414
* @param replacedIndex ``Some`` path to your own Swagger UI index file, or ``None``
1515
*
1616
* @author Matthias Fax
17-
* @version 1.0.2
1817
*/
1918
class SwaggerUiRoute(prefixPath: String, replacedIndex: Option[String] = None) extends Directives {
2019

src/test/scala/com/matfax/swuiakht/SwaggerUiRouteSpec.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import scala.io.{Codec, Source}
1111
* The specification for ``SwaggerUiRoute``.
1212
*
1313
* @author Matthias Fax
14-
* @version 1.0.2
1514
*/
1615
class SwaggerUiRouteSpec extends WordSpec with Matchers with ScalatestRouteTest {
1716

0 commit comments

Comments
 (0)