shjung 9 hónapja
szülő
commit
398a072908

+ 0 - 2
.idea/gradle.xml

@@ -4,8 +4,6 @@
   <component name="GradleSettings">
     <option name="linkedExternalProjectsSettings">
       <GradleProjectSettings>
-        <option name="delegatedBuild" value="false" />
-        <option name="testRunner" value="PLATFORM" />
         <option name="externalProjectPath" value="$PROJECT_DIR$" />
         <option name="modules">
           <set>

+ 3 - 1
evps-comm-server/build.gradle

@@ -53,7 +53,9 @@ jar {
     enabled = false
 }
 
-tasks.withType(JavaCompile) {
+compileJava.options.encoding = 'UTF-8'
+tasks.withType(JavaCompile).configureEach {
     options.compilerArgs << '-Xlint:unchecked'
     options.deprecation = true
+    options.encoding = 'UTF-8'
 }

+ 4 - 2
evps-common/build.gradle

@@ -39,7 +39,7 @@ test {
     useJUnitPlatform()
 }
 
-task runInstallJarLibrary(type:Exec) {
+tasks.register('runInstallJarLibrary', Exec) {
     doFirst {
         println "evps-common library install mvn repository..."
         workingDir = file('.')
@@ -49,7 +49,9 @@ task runInstallJarLibrary(type:Exec) {
 }
 jar.finalizedBy runInstallJarLibrary
 
-tasks.withType(JavaCompile) {
+compileJava.options.encoding = 'UTF-8'
+tasks.withType(JavaCompile).configureEach {
     options.compilerArgs << '-Xlint:unchecked'
     options.deprecation = true
+    options.encoding = 'UTF-8'
 }

+ 1 - 9
evps-common/src/main/java/com/evps/Main.java

@@ -4,14 +4,6 @@ package com.evps;
 // click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
 public class Main {
     public static void main(String[] args) {
-        //TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
-        // to see how IntelliJ IDEA suggests fixing it.
-        System.out.printf("Hello and welcome!");
-
-        for (int i = 1; i <= 5; i++) {
-            //TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
-            // for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
-            System.out.println("i = " + i);
-        }
+        System.out.printf("com.evps.common!");
     }
 }

+ 3 - 1
evps-consumer/build.gradle

@@ -40,7 +40,9 @@ jar {
     enabled = false
 }
 
-tasks.withType(JavaCompile) {
+compileJava.options.encoding = 'UTF-8'
+tasks.withType(JavaCompile).configureEach {
     options.compilerArgs << '-Xlint:unchecked'
     options.deprecation = true
+    options.encoding = 'UTF-8'
 }