Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions demo/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ buildscript {
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 34
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.24"
targetSdkVersion = 35
ndkVersion = "27.1.12297006"
kotlinVersion = "2.1.20"
agpVersion = "8.12.0"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
classpath("com.android.tools.build:gradle:${agpVersion}")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
}
}

apply plugin: "com.facebook.react.rootproject"
plugins {
id("com.facebook.react.rootproject")
}
4 changes: 4 additions & 0 deletions demo/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ newArchEnabled=true
hermesEnabled=true

android.enableJetifier=true

# Auto-provision JDK toolchains when local JDK is not a full JDK
org.gradle.java.installations.auto-download=true
org.gradle.java.installations.auto-detect=false
2 changes: 1 addition & 1 deletion demo/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
16 changes: 14 additions & 2 deletions demo/android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
plugins { id("com.facebook.react.settings") }
pluginManagement {
includeBuild("../node_modules/@react-native/gradle-plugin")
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}

plugins {
id("com.facebook.react.settings")
}

extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }

rootProject.name = 'demo'
include ':app'
includeBuild('../node_modules/@react-native/gradle-plugin')
Loading
Loading