1
0
mirror of synced 2024-11-27 17:00:55 +01:00

fix: build fail

This commit is contained in:
Juchan Roh 2023-02-04 22:59:56 +09:00
parent b0abb87291
commit a307311f2b
3 changed files with 8 additions and 3 deletions

View File

@ -167,6 +167,10 @@ dependencies {
} else {
implementation jscFlavor
}
// for react-native-fs
implementation project(':react-native-fs')
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
}
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)

View File

@ -4,7 +4,7 @@
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.rndiffapp;
package tk.nulldori.eamemu;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
import com.facebook.flipper.android.utils.FlipperUtils;

View File

@ -9,6 +9,7 @@ buildscript {
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
kotlinVersion = "1.8.0"
}
repositories {
google()
@ -18,7 +19,7 @@ buildscript {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("com.facebook.react:react-native-gradle-plugin")
// for react-native-fs
implementation project(':react-native-fs')
// for kotlin
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${project.ext.kotlinVersion}"
}
}