Set up gradle project
Summary: Build the jetpack compose plugin with gradle and export it to Maven. Reviewed By: lblasa Differential Revision: D46932689 fbshipit-source-id: cca0468bae7e6a324430aab548613aa1fdb61bf2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b35cbaae55
commit
ad25c2468d
34
android/plugins/jetpack-compose/build.gradle
Normal file
34
android/plugins/jetpack-compose/build.gradle
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
|
||||
android {
|
||||
namespace 'com.facebook.flipper.plugins.jetpackcompose'
|
||||
compileSdkVersion rootProject.compileSdkVersion
|
||||
buildToolsVersion rootProject.buildToolsVersion
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion rootProject.minSdkVersion
|
||||
targetSdkVersion rootProject.targetSdkVersion
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
targetCompatibility rootProject.javaTargetVersion
|
||||
sourceCompatibility rootProject.javaTargetVersion
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':android')
|
||||
implementation 'androidx.compose.ui:ui:1.4.3'
|
||||
implementation 'androidx.compose.ui:ui-tooling:1.4.3'
|
||||
implementation 'org.jetbrains.kotlin:kotlin-reflect:1.8.22'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'com.vanniktech.maven.publish'
|
||||
Reference in New Issue
Block a user