File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
src/main/groovy/cn/hx/plugin/junkcode/task Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ buildscript {
11
11
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
12
12
classpath " com.getkeepsafe.dexcount:dexcount-gradle-plugin:3.0.1"
13
13
if (PLUGIN_ENABLE . toBoolean()) {
14
- classpath " com.github.qq549631030:android-junk-code:1.2.3 "
14
+ classpath " com.github.qq549631030:android-junk-code:1.2.4 "
15
15
}
16
16
// NOTE: Do not place your application dependencies here; they belong
17
17
// in the individual module build.gradle files
Original file line number Diff line number Diff line change 1
1
# project
2
2
GROUP =com.github.qq549631030
3
- VERSION_NAME =1.2.3
3
+ VERSION_NAME =1.2.4
4
4
5
5
POM_ARTIFACT_ID =android-junk-code
6
6
POM_NAME =AndroidJunkCode
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import org.gradle.api.tasks.OutputDirectory
13
13
import org.gradle.api.tasks.TaskAction
14
14
15
15
import javax.lang.model.element.Modifier
16
- import java.nio.charset.Charset
17
16
import java.nio.file.Files
18
17
import java.nio.file.Path
19
18
@@ -262,7 +261,7 @@ class AndroidJunkCodeTask extends DefaultTask {
262
261
}
263
262
FileWriter writer
264
263
try {
265
- writer = new FileWriter (file, Charset . forName( " UTF-8 " ) )
264
+ writer = new FileWriter (file)
266
265
writer. write(data)
267
266
} catch (Exception e) {
268
267
e. printStackTrace()
You can’t perform that action at this time.
0 commit comments