1 Commits

Author SHA1 Message Date
wzq
9673f1ff69 升级 Gradle 8.0 2023-09-14 17:52:40 +08:00
13 changed files with 26 additions and 13 deletions

View File

@@ -29,6 +29,7 @@ android {
kotlinOptions { kotlinOptions {
jvmTarget = "11" jvmTarget = "11"
} }
namespace 'com.soundcloud.android.crop'
} }
dependencies { dependencies {

View File

@@ -1 +1 @@
<manifest package="com.soundcloud.android.crop" /> <manifest />

View File

@@ -170,6 +170,7 @@ android {
} }
buildToolsVersion = '30.0.3' buildToolsVersion = '30.0.3'
namespace 'com.nnbc123.app'
} }

View File

@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"> <!-- 云信集成小米推送 end -->
package="com.nnbc123.app"> <!-- 云信集成小米推送 end -->
<uses-sdk tools:overrideLibrary="com.huawei.android.hms.base,com.huawei.android.hms.push" /> <uses-sdk tools:overrideLibrary="com.huawei.android.hms.base,com.huawei.android.hms.push" />
<!-- 应用内安装软件权限 oppo vivo 手机,需要加这个东西才能 在安装未知应用列表出现 --> <!-- 应用内安装软件权限 oppo vivo 手机,需要加这个东西才能 在安装未知应用列表出现 -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> <!-- bugly所需权限 --> <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> <!-- bugly所需权限 -->

View File

@@ -19,7 +19,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.1.0' classpath 'com.android.tools.build:gradle:8.1.1'
//realm 数据库插件 //realm 数据库插件
classpath "io.realm:realm-gradle-plugin:5.3.0" classpath "io.realm:realm-gradle-plugin:5.3.0"
// android 资源混淆插件 // android 资源混淆插件

View File

@@ -53,6 +53,7 @@ android {
} }
buildToolsVersion = '30.0.3' buildToolsVersion = '30.0.3'
namespace 'com.nnbc123.core'
} }

View File

@@ -1,4 +1,3 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android">
package="com.nnbc123.core" >
</manifest> </manifest>

View File

@@ -6,7 +6,11 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html # http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process. # Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings. # The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=2048m org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=2048m \
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
org.gradle.daemon=true org.gradle.daemon=true
# When configured, Gradle will run in incubating parallel mode. # When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit # This option should only be used with decoupled projects. More details, visit
@@ -30,4 +34,7 @@ MIN_SDK_VERSION=21
TARGET_SDK_VERSION=32 TARGET_SDK_VERSION=32
version_name=1.3.2 version_name=1.3.2
version_code=132 version_code=132
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

View File

@@ -1,6 +1,6 @@
#Mon Apr 03 18:35:35 CST 2023 #Mon Apr 03 18:35:35 CST 2023
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

View File

@@ -57,6 +57,7 @@ android {
} }
} }
buildToolsVersion = '30.0.3' buildToolsVersion = '30.0.3'
namespace 'com.nnbc123.library'
} }
dependencies { dependencies {

View File

@@ -1,6 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools">
package="com.nnbc123.library">
<uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

View File

@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android">
package="com.netease.nim.uikit">
<application> <application>

View File

@@ -40,6 +40,12 @@ android {
kotlinOptions { kotlinOptions {
jvmTarget = "11" jvmTarget = "11"
} }
buildFeatures {
renderScript true
aidl true
}
namespace 'com.netease.nim.uikit'
} }
def overscroll_android = "1.0.4" def overscroll_android = "1.0.4"