Try fix build

This commit is contained in:
YuKongA
2022-03-11 20:55:39 +08:00
parent 4245979057
commit 9e57435817
4 changed files with 8 additions and 6 deletions

View File

@@ -32,8 +32,10 @@ jobs:
path: |
~/.gradle/caches/build-cache-*
key: gradle-builds-${{ github.sha }}
- name: Clone UI
- name: Clone blockmiui
run: git clone https://github.com/Block-Network/blockmiui.git
- name: Clone DexBuilder
run: git clone https://github.com/LSPosed/DexBuilder.git
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle

2
.gitmodules vendored
View File

@@ -3,4 +3,4 @@
url = https://github.com/577fkj/blockmiui.git
[submodule "app/src/main/cpp/dex_builder"]
path = app/src/main/cpp/dex_builder
url = https://github.com/LSPosed/DexBuilder
url = https://github.com/LSPosed/DexBuilder.git

View File

@@ -27,7 +27,6 @@ android {
buildTypes {
release {
isMinifyEnabled = true
isZipAlignEnabled = true
isShrinkResources = true
setProguardFiles(
listOf(
@@ -58,7 +57,7 @@ android {
applicationVariants.all {
outputs.all {
(this as BaseVariantOutputImpl).outputFileName =
"Simplicity_Tools_Xposed-${versionName}-${name}.apk"
"Simplicity_Tools_Xposed-$versionName-$name.apk"
}
}
androidResources {

View File

@@ -1,6 +1,5 @@
cmake_minimum_required(VERSION 3.18.1)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_C_STANDARD 11)
@@ -12,11 +11,13 @@ add_library(
native.cpp
biliroaming.cc
)
target_include_directories(DexBuilder PUBLIC dex_builder/include)
find_library(
log-lib
log)
log
)
target_link_libraries(
DexBuilder