Skip to content

Commit 9f35d29

Browse files
committed
Gradle: use single-quoted strings where possible.
1 parent c0fb3c4 commit 9f35d29

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,24 @@ plugins {
2929

3030
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
3131

32-
File buildDir = file(".");
32+
File buildDir = file('.');
3333
Properties props = new Properties()
34-
props.load(new FileInputStream(buildDir.getAbsolutePath() + "/src/main/resources/com/neuronrobotics/nrjavaserial/build.properties"))
34+
props.load(new FileInputStream("${buildDir.getAbsolutePath()}/src/main/resources/com/neuronrobotics/nrjavaserial/build.properties"))
3535

36-
group = "com.neuronrobotics"
36+
group = 'com.neuronrobotics'
3737
base.archivesName = props.'app.name'
38-
version = props."app.version"
38+
version = props.'app.version'
3939

4040
sourceSets {
4141
test {
4242
java {
43-
srcDirs = ["test/src"]
43+
srcDirs = ['test/src']
4444
}
4545
}
4646
main {
4747
resources {
48-
srcDirs = ["src/main/resources", "src/main/c/resources"]
49-
includes = ["**/*.so","**/*.dll", "**/*.jnilib","**/*.properties"]
48+
srcDirs = ['src/main/resources', 'src/main/c/resources']
49+
includes = ['**/*.so','**/*.dll', '**/*.jnilib', '**/*.properties']
5050
}
5151
}
5252
}

0 commit comments

Comments
 (0)