mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 01:19:31 +08:00
Keep the checked-in React Native projects and shared turn transport. Add Expo SDK 57 and Dev Client, mobile tests and native build jobs, and instructions for self-hosted development.
21 lines
850 B
Groovy
21 lines
850 B
Groovy
pluginManagement {
|
|
includeBuild("../node_modules/@react-native/gradle-plugin")
|
|
def autolinking = providers.exec {
|
|
workingDir(rootDir)
|
|
commandLine("node", "--print", "require.resolve('expo-modules-autolinking/package.json', { paths: [require.resolve('expo/package.json')] })")
|
|
}.standardOutput.asText.get().trim()
|
|
includeBuild(new File(autolinking, "../android/expo-gradle-plugin").canonicalPath)
|
|
}
|
|
plugins {
|
|
id("com.facebook.react.settings")
|
|
id("expo-autolinking-settings")
|
|
}
|
|
extensions.configure(com.facebook.react.ReactSettingsExtension) { settings ->
|
|
settings.autolinkLibrariesFromCommand(expoAutolinking.rnConfigCommand)
|
|
}
|
|
expoAutolinking.useExpoModules()
|
|
expoAutolinking.useExpoVersionCatalog()
|
|
rootProject.name = 'DeepTutorMobile'
|
|
include ':app'
|
|
includeBuild(expoAutolinking.reactNativeGradlePlugin)
|