Skip to content

Commit

Permalink
update agp 8.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
storytellerF committed Apr 13, 2024
1 parent 0f6cf23 commit 1b0c5fb
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 7 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ git submodule update --init
需要安装jdk 17,Android Studio Preview Giraffe,Android SDK

1. 可以使用Android Studio 一键构建
需要安装beta 版本。使用了beta 版本的agp
2. 也可以使用命令行构建
可以不安装Android Studio至少需要安装Android SDK

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ if (r.exists()) {
afterEvaluate {
def debug = tasks.named("packageDebug")
def release = tasks.named("packageRelease")
debug.get().dependsOn(checkUnstableCode)
release.get().dependsOn(checkUnstableCode)
//debug.get().dependsOn(checkUnstableCode)
//release.get().dependsOn(checkUnstableCode)
}
}
}
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:networkSecurityConfig="@xml/network_security"
android:supportsRtl="true"
android:theme="@style/Theme.Bi"
tools:targetApi="31">
Expand Down
9 changes: 9 additions & 0 deletions app/src/main/res/xml/network_security.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
<certificates src="user" />
</trust-anchors>
</base-config>
</network-security-config>
2 changes: 1 addition & 1 deletion bilimiao2
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ buildscript {
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '8.1.0-rc01' apply false
id 'com.android.library' version '8.1.0-rc01' apply false
id 'com.android.application' version '8.2.0' apply false
id 'com.android.library' version '8.2.0' apply false
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
id("com.google.protobuf") version "0.9.1" apply false
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Apr 05 21:39:03 CST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 1b0c5fb

Please sign in to comment.