Skip to content

Commit 07ef787

Browse files
committed
prepare common.gradle for kotlin convert
1 parent a4f450a commit 07ef787

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

gradle/common.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
// Most typical common config, but not quite global
5-
apply plugin: 'java-library'
6-
apply plugin: 'maven-publish'
5+
apply(plugin: "java-library")
6+
apply(plugin: "maven-publish")
77

88
java {
99
withSourcesJar()
1010
withJavadocJar()
1111

12-
sourceCompatibility(JavaVersion.VERSION_1_8)
13-
targetCompatibility(JavaVersion.VERSION_1_8)
12+
sourceCompatibility = JavaVersion.VERSION_1_8
13+
targetCompatibility = JavaVersion.VERSION_1_8
1414
}
1515

1616
// Extra details provided for unit tests
@@ -28,7 +28,7 @@ test {
2828
}
2929

3030
// Arguments to include while running tests
31-
jvmArgs '-Xms512m', '-Xmx1024m'
31+
jvmArgs("-Xms512m", "-Xmx1024m")
3232
}
3333

3434
// In theory all Javadoc should be good and fixed, but it might be a bit much to entirely fail a build over. For now at least ...
@@ -45,7 +45,7 @@ publishing {
4545

4646
repositories {
4747
maven {
48-
name = 'TerasologyOrg'
48+
name = "TerasologyOrg"
4949

5050
if (rootProject.hasProperty("publishRepo")) {
5151
// This first option is good for local testing, you can set a full explicit target repo in gradle.properties

0 commit comments

Comments
 (0)