Skip to content

Commit 5df29ed

Browse files
authored
force utf-8 encoding in all exercises build.gradle (exercism#1842)
1 parent a9df42f commit 5df29ed

File tree

120 files changed

+549
-62
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+549
-62
lines changed

_template/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/accumulate/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/acronym/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/affine-cipher/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/all-your-base/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/allergies/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/alphametics/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/anagram/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/armstrong-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/atbash-cipher/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)