Skip to content

Commit cfef70e

Browse files
committed
现在可以构建
1 parent 0c1417e commit cfef70e

File tree

10 files changed

+8
-236
lines changed

10 files changed

+8
-236
lines changed

.idx/dev.nix

Lines changed: 0 additions & 56 deletions
This file was deleted.

app/build.gradle

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ android {
44
compileSdkVersion 33
55

66
defaultConfig {
7+
namespace 'com.qinglighthouse.android'
78
applicationId "com.qinglighthouse.android"
89
minSdkVersion 14
910
targetSdkVersion 33
@@ -16,15 +17,3 @@ android {
1617
}
1718
}
1819
}
19-
20-
dependencies {
21-
implementation project(':dex-injector-lib')
22-
}
23-
24-
task injectDex(type: JavaExec) {
25-
classpath = files("$buildDir/intermediates/classes/debug", project(':dex-injector-lib').buildDir.path + '/libs/dex-injector-lib.jar')
26-
main = 'com.example.localizationinjector.DexInjector'
27-
args 'app/src/main/assets/classes.dex', 'app/src/main/assets/classes-modified.dex'
28-
}
29-
30-
preBuild.dependsOn injectDex

app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.lh64.randomdungeon"
43
android:versionCode="190"
54
android:versionName="0.4.2"
65
android:installLocation="auto">

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
33
repositories {
4+
google()
5+
mavenCentral()
46
maven{ url 'https://maven.aliyun.com/repository/google' }
57
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
68
// maven { url 'https://jitpack.io' }
79
}
810
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.0.4'
11+
classpath 'com.android.tools.build:gradle:8.7.2'
1012
}
1113
}
1214

1315
allprojects {
1416
repositories {
17+
google()
18+
mavenCentral()
1519
maven{ url 'https://maven.aliyun.com/repository/google' }
1620
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
1721
maven { url 'https://jitpack.io' }

dex-injector-lib/build.gradle

Lines changed: 0 additions & 5 deletions
This file was deleted.

dex-injector-lib/src/main/java/com/example/localizationinjector/BitmapTextRewriter.java

Lines changed: 0 additions & 125 deletions
This file was deleted.

dex-injector-lib/src/main/java/com/example/localizationinjector/DexInjector.java

Lines changed: 0 additions & 33 deletions
This file was deleted.

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
org.gradle.java.home=/nix/store/65qpdkc33j5wqzxvz8c23zhgms8hl35y-openjdk-21.0.9+10/lib/openjdk
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
3+
distributionUrl=https://mirrors.cloud.tencent.com/gradle/gradle-8.10.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include ':app', ':dex-injector-lib'
1+
include ':app'

0 commit comments

Comments
 (0)