GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge branch 'main' of https://github.com/Efaker/FakerAndroid into main · dewee-dev/FakerAndroid@cc4d0cd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • bin/FakerAndroid-AS
    • build.gradle
  • build.gradle
  • distribution/apktool/brut.apktool/apktool-lib
    • build.gradle
    • src/main/java/brut/androlib/res/data
      • ResResSpec.java
      • UnicodeUtils.kt
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bin/FakerAndroid-AS/build.gradle‎

Copy file name to clipboardExpand all lines: bin/FakerAndroid-AS/build.gradle
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ buildscript {
1010

1111
plugins {
1212
id 'org.jetbrains.intellij' version '0.4.18'
13-
id 'org.jetbrains.kotlin.jvm' version '1.3.71'
13+
// id 'org.jetbrains.kotlin.jvm' version kotlin_version
1414
id 'org.sonarqube' version '2.8'
1515
}
1616

Collapse file

‎build.gradle‎

Copy file name to clipboardExpand all lines: build.gradle
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ allprojects {
2424
}
2525
}
2626
buildscript {
27+
ext.kotlin_version = '1.4.32'
2728
repositories {
2829
jcenter()
2930
}
@@ -32,5 +33,23 @@ buildscript {
3233
}
3334
dependencies {
3435
classpath 'com.github.jengelman.gradle.plugins:shadow:6.0.0'
36+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
37+
}
38+
}
39+
apply plugin: 'kotlin'
40+
repositories {
41+
mavenCentral()
42+
}
43+
dependencies {
44+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
45+
}
46+
compileKotlin {
47+
kotlinOptions {
48+
jvmTarget = "1.8"
49+
}
50+
}
51+
compileTestKotlin {
52+
kotlinOptions {
53+
jvmTarget = "1.8"
3554
}
3655
}
Collapse file

‎distribution/apktool/brut.apktool/apktool-lib/build.gradle‎

Copy file name to clipboardExpand all lines: distribution/apktool/brut.apktool/apktool-lib/build.gradle
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.apache.tools.ant.filters.*
1717

1818
apply plugin: 'java-library'
19-
19+
apply plugin: 'kotlin'
2020

2121
dependencies {
2222
testImplementation("junit:junit:4.10") {
Collapse file

‎distribution/apktool/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/ResResSpec.java‎

Copy file name to clipboardExpand all lines: distribution/apktool/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/ResResSpec.java
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ public ResResSpec(ResID id, String name, ResPackage pkg, ResTypeSpec type) {
4343
} else {
4444
cleanName = ((name == null || name.isEmpty()) ? ("apktool_dummyval_" + id.toString()) : name);
4545
}
46-
46+
/**
47+
* Only Check Self Package 's Name
48+
*/
49+
if (pkg.getId() == 0x7f && !UnicodeUtilsKt.isValidResourceEntryName(cleanName) || UnicodeUtilsKt.isJavaReversedKeywords(cleanName)){
50+
cleanName = "apktool_validate_name_" + id.toString();
51+
}
4752
this.mName = cleanName;
4853
this.mPackage = pkg;
4954
this.mType = type;

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.