Commit 941173213a10e1ef5e1a03e50536b1edb49b8614

Authored by 王彬
1 parent c0d6c0ad

1.字符编码问题处理

Showing 1 changed file with 5 additions and 1 deletions   Show diff stats
@@ -36,6 +36,10 @@ task sourcesJar(type: Jar, dependsOn: classes) { @@ -36,6 +36,10 @@ task sourcesJar(type: Jar, dependsOn: classes) {
36 from sourceSets.main.allSource 36 from sourceSets.main.allSource
37 } 37 }
38 38
  39 +tasks.withType(JavaCompile) {
  40 + options.encoding = "UTF-8"
  41 +}
  42 +
39 artifacts { 43 artifacts {
40 archives sourcesJar 44 archives sourcesJar
41 } 45 }
@@ -51,7 +55,7 @@ uploadArchives { @@ -51,7 +55,7 @@ uploadArchives {
51 authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD) 55 authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD)
52 } 56 }
53 pom.project { 57 pom.project {
54 - version '2.1.2' 58 + version '2.1.3'
55 artifactId ARTIFACT_Id 59 artifactId ARTIFACT_Id
56 groupId GROUP_ID 60 groupId GROUP_ID
57 packaging TYPE 61 packaging TYPE