Skip to content

Commit 11cbe90

Browse files
committed
force UTF-8 encoding
1 parent 1e0486a commit 11cbe90

11 files changed

Lines changed: 44 additions & 0 deletions

File tree

exercises/concept/arrays/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: "java"
22
apply plugin: "eclipse"
33
apply plugin: "idea"
44

5+
// set default encoding to UTF-8
6+
compileJava.options.encoding = "UTF-8"
7+
compileTestJava.options.encoding = "UTF-8"
8+
59
repositories {
610
mavenCentral()
711
}

exercises/concept/basics/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: "java"
22
apply plugin: "eclipse"
33
apply plugin: "idea"
44

5+
// set default encoding to UTF-8
6+
compileJava.options.encoding = "UTF-8"
7+
compileTestJava.options.encoding = "UTF-8"
8+
59
repositories {
610
mavenCentral()
711
}

exercises/concept/booleans/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: "java"
22
apply plugin: "eclipse"
33
apply plugin: "idea"
44

5+
// set default encoding to UTF-8
6+
compileJava.options.encoding = "UTF-8"
7+
compileTestJava.options.encoding = "UTF-8"
8+
59
repositories {
610
mavenCentral()
711
}

exercises/concept/chars/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: "java"
22
apply plugin: "eclipse"
33
apply plugin: "idea"
44

5+
// set default encoding to UTF-8
6+
compileJava.options.encoding = "UTF-8"
7+
compileTestJava.options.encoding = "UTF-8"
8+
59
repositories {
610
mavenCentral()
711
}

exercises/concept/classes/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: "java"
22
apply plugin: "eclipse"
33
apply plugin: "idea"
44

5+
// set default encoding to UTF-8
6+
compileJava.options.encoding = "UTF-8"
7+
compileTestJava.options.encoding = "UTF-8"
8+
59
repositories {
610
mavenCentral()
711
}

exercises/concept/conditionals/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: "java"
22
apply plugin: "eclipse"
33
apply plugin: "idea"
44

5+
// set default encoding to UTF-8
6+
compileJava.options.encoding = "UTF-8"
7+
compileTestJava.options.encoding = "UTF-8"
8+
59
repositories {
610
mavenCentral()
711
}

exercises/concept/constructors/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: "java"
22
apply plugin: "eclipse"
33
apply plugin: "idea"
44

5+
// set default encoding to UTF-8
6+
compileJava.options.encoding = "UTF-8"
7+
compileTestJava.options.encoding = "UTF-8"
8+
59
repositories {
610
mavenCentral()
711
}

exercises/concept/interfaces/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: "java"
22
apply plugin: "eclipse"
33
apply plugin: "idea"
44

5+
// set default encoding to UTF-8
6+
compileJava.options.encoding = "UTF-8"
7+
compileTestJava.options.encoding = "UTF-8"
8+
59
repositories {
610
mavenCentral()
711
}

exercises/concept/numbers/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: "java"
22
apply plugin: "eclipse"
33
apply plugin: "idea"
44

5+
// set default encoding to UTF-8
6+
compileJava.options.encoding = "UTF-8"
7+
compileTestJava.options.encoding = "UTF-8"
8+
59
repositories {
610
mavenCentral()
711
}

exercises/concept/strings/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: "java"
22
apply plugin: "eclipse"
33
apply plugin: "idea"
44

5+
// set default encoding to UTF-8
6+
compileJava.options.encoding = "UTF-8"
7+
compileTestJava.options.encoding = "UTF-8"
8+
59
repositories {
610
mavenCentral()
711
}

0 commit comments

Comments
 (0)