File tree 4 files changed +10
-6
lines changed
4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ repositories {
30
30
}
31
31
32
32
subprojects {
33
+ ext {
34
+ set(" vertxVersion" , " 4.0.2" )
35
+ }
36
+
33
37
repositories {
34
38
mavenCentral()
35
39
jcenter()
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ plugins {
9
9
id(" maven-publish" )
10
10
}
11
11
12
+ val vertxVersion = ext.get(" vertxVersion" )
13
+
12
14
// Import variables from gradle.properties file
13
15
val pluginGroup: String by project
14
16
val pluginName: String by project
@@ -54,7 +56,6 @@ dependencies {
54
56
implementation(project(" :protocol" ))
55
57
implementation(project(" :portal" ))
56
58
57
- val vertxVersion = " 4.0.2"
58
59
implementation(" com.github.sh5i:git-stein:v0.5.0" )
59
60
implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2" )
60
61
implementation(" io.vertx:vertx-core:$vertxVersion " )
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ plugins {
3
3
kotlin(" plugin.serialization" ) version " 1.4.31"
4
4
}
5
5
6
+ val vertxVersion = ext.get(" vertxVersion" )
7
+
6
8
kotlin {
7
9
jvm { }
8
10
js {
@@ -24,7 +26,6 @@ kotlin {
24
26
}
25
27
val jvmMain by getting {
26
28
dependencies {
27
- val vertxVersion = " 4.0.2"
28
29
implementation(kotlin(" stdlib-jdk8" ))
29
30
implementation(project(" :protocol" ))
30
31
implementation(" org.slf4j:slf4j-api:1.7.30" )
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ plugins {
5
5
id(" java" )
6
6
}
7
7
8
+ val vertxVersion = ext.get(" vertxVersion" )
9
+
8
10
kotlin {
9
11
jvm { }
10
12
js {
@@ -27,7 +29,6 @@ kotlin {
27
29
}
28
30
val jvmMain by getting {
29
31
dependencies {
30
- val vertxVersion = " 4.0.2"
31
32
implementation(" io.vertx:vertx-core:$vertxVersion " )
32
33
implementation(" io.vertx:vertx-codegen:$vertxVersion " )
33
34
implementation(" io.vertx:vertx-service-proxy:$vertxVersion " )
@@ -40,7 +41,6 @@ kotlin {
40
41
}
41
42
val jvmTest by getting {
42
43
dependencies {
43
- val vertxVersion = " 4.0.2"
44
44
implementation(" io.vertx:vertx-core:$vertxVersion " )
45
45
implementation(" com.google.guava:guava:30.1-jre" )
46
46
implementation(" junit:junit:4.13.2" )
@@ -59,7 +59,6 @@ kotlin {
59
59
}
60
60
61
61
dependencies {
62
- val vertxVersion = " 4.0.2"
63
62
" kapt" (" io.vertx:vertx-codegen:$vertxVersion :processor" )
64
63
}
65
64
@@ -69,7 +68,6 @@ tasks {
69
68
java.srcDir(" $buildDir /generated/source/kapt/main" )
70
69
71
70
dependencies {
72
- val vertxVersion = " 4.0.2"
73
71
implementation(" io.vertx:vertx-core:$vertxVersion " )
74
72
implementation(" io.vertx:vertx-codegen:$vertxVersion " )
75
73
implementation(" io.vertx:vertx-service-proxy:$vertxVersion " )
You can’t perform that action at this time.
0 commit comments