Skip to content

Commit

Permalink
update agt to 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
imndx committed Apr 15, 2023
1 parent 7edef02 commit 04952da
Show file tree
Hide file tree
Showing 18 changed files with 242 additions and 178 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ buildscript {
maven {url 'https://developer.huawei.com/repo/'}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.2'
classpath 'com.huawei.agconnect:agcp:1.2.1.301'
classpath 'com.android.tools.build:gradle:8.0.0'
classpath 'com.huawei.agconnect:agcp:1.5.2.300'
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:4.3.14'
classpath 'com.google.gms:google-services:4.3.15'
}
}

Expand Down
11 changes: 5 additions & 6 deletions chat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ android {
}
}
compileSdkVersion 31
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
ndkVersion '18.1.5063045'
defaultConfig {
applicationId "cn.wildfirechat.chat"
Expand All @@ -24,7 +22,7 @@ android {
multiDexEnabled true
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath true
// includeCompileClasspath true
}
}

Expand All @@ -47,11 +45,12 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
abortOnError false
}
productFlavors {
}
namespace 'cn.wildfirechat.chat'
lint {
abortOnError false
}
}

dependencies {
Expand Down
3 changes: 1 addition & 2 deletions chat/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="cn.wildfirechat.chat">
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Expand Down
12 changes: 7 additions & 5 deletions client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "1.0"

// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
Expand Down Expand Up @@ -39,13 +37,17 @@ android {
}
}

lintOptions {
abortOnError false
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
namespace 'cn.wildfirechat.client'
lint {
abortOnError false
}
buildFeatures {
aidl true
}
}


Expand Down
3 changes: 1 addition & 2 deletions client/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cn.wildfirechat.client">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Expand Down
3 changes: 1 addition & 2 deletions emojilibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

Expand All @@ -25,6 +23,7 @@ android {
abortOnError false
}
}
namespace 'com.lqr.emoji'

}

Expand Down
3 changes: 1 addition & 2 deletions emojilibrary/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.lqr.emoji">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application android:allowBackup="true"
android:label="@string/app_name"
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ android.enableJetifier=true
android.debug.obsoleteApi=true
android.enableDexingArtifactTransform.desugaring=false
android.injected.testOnly=false
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Sat May 30 17:17:24 CST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
Loading

0 comments on commit 04952da

Please sign in to comment.