File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ application {
1212 mainClass = " ca.andrewdunning.xmlmodelvalidator.XmlValidationApplication"
1313}
1414
15+ repositories {
16+ mavenCentral()
17+ }
18+
1519dependencyLocking {
1620 lockAllConfigurations()
1721}
@@ -72,7 +76,8 @@ tasks.named<Jar>("jar") {
7276tasks.register(" printVersion" ) {
7377 group = " help"
7478 description = " Prints the project version for release scripts."
79+ val currentVersion = project.version.toString()
7580 doLast {
76- println (project.version )
81+ println (currentVersion )
7782 }
7883}
Load diff This file was deleted.
Original file line number Diff line number Diff line change 11rootProject.name = " xml-model-validator"
2-
3- dependencyResolutionManagement {
4- repositoriesMode.set(RepositoriesMode .FAIL_ON_PROJECT_REPOS )
5- repositories {
6- mavenCentral()
7- }
8- }
You can’t perform that action at this time.
0 commit comments