Skip to content

Commit

Permalink
Update project
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying committed Aug 29, 2024
1 parent bab6f17 commit 96ae314
Show file tree
Hide file tree
Showing 13 changed files with 3,082 additions and 2,760 deletions.
6 changes: 2 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apply plugin: "com.facebook.react"
import com.android.build.OutputFile

react {

autolinkLibrariesWithApp()
}

project.ext.vectoricons = [
Expand Down Expand Up @@ -94,7 +94,5 @@ dependencies {
implementation "com.google.android.material:material:1.12.0"
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle");
apply from: file("../../node_modules/react-native-vector-icons/fonts.gradle")
apply from: file("../../node_modules/react-native-code-push/android/codepush.gradle");
applyNativeModulesAppBuildGradle(project)
apply from: file("../../node_modules/react-native-code-push/android/codepush.gradle")
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ buildscript {
minSdkVersion = 28
compileSdkVersion = 35
targetSdkVersion = 35
ndkVersion = "26.3.11579264"
ndkVersion = "27.0.12077973"
cmakeVersion = "3.22.1"
javaVersion = JavaVersion.VERSION_17
kotlinVersion = "2.0.0"
kotlinVersion = "2.0.20"
}
repositories {
maven {
Expand Down
1 change: 0 additions & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=4096m
org.gradle.parallel=true

android.useAndroidX=true
android.enableJetifier=true

reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64

Expand Down
5 changes: 4 additions & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
plugins { id("com.facebook.react.settings") }
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }

rootProject.name = "learnX"

apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ":app", ":react-native-code-push"
includeBuild("../node_modules/@react-native/gradle-plugin")

Expand Down
Loading

0 comments on commit 96ae314

Please sign in to comment.