Skip to content

Commit

Permalink
Compatible with AGP-8.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
naivetoby committed Feb 17, 2024
1 parent 7262755 commit 1e709e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ android {
namespace "com.jarvan.fluwx"
compileSdk 31

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = '1.8'
}

sourceSets {
main.java.srcDirs += ['src/main/kotlin', "${buildDir}/generated/src/kotlin"]
test.java.srcDirs += 'src/test/kotlin'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ package com.jarvan.fluwx.handlers
import android.content.Context
import android.content.pm.PackageManager
import android.util.Log
import com.jarvan.fluwx.BuildConfig
import com.jarvan.fluwx.FluwxPlugin
import com.tencent.mm.opensdk.constants.Build
import com.tencent.mm.opensdk.openapi.IWXAPI
Expand Down

0 comments on commit 1e709e1

Please sign in to comment.