mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c942469700
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46441 Changelog: [Internal] Reviewed By: zertosh Differential Revision: D62518893 fbshipit-source-id: ca2ff83018716a4dc1e2dcfb8596138d088ce9f4
33 lines
822 B
Kotlin
33 lines
822 B
Kotlin
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
plugins {
|
|
id("com.facebook.react")
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.kotlin.android)
|
|
}
|
|
|
|
android {
|
|
compileSdk = libs.versions.compileSdk.get().toInt()
|
|
buildToolsVersion = libs.versions.buildTools.get()
|
|
namespace = "com.facebook.react.osslibraryexample"
|
|
|
|
defaultConfig { minSdk = libs.versions.minSdk.get().toInt() }
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions { jvmTarget = "17" }
|
|
}
|
|
|
|
dependencies {
|
|
// Build React Native from source
|
|
implementation(project(":packages:react-native:ReactAndroid"))
|
|
}
|