Summary: This should hopefully unblock our Android builds for real this time. I didn't realise that the AGP itself seems to ship with a version of Dokka, so just removing the import didn't actually address the problem we were seeing. Pull Request resolved: https://github.com/facebook/flipper/pull/5005 Test Plan: ``` ./gradlew publishToMavenLocal -PRELEASE_SIGNING_ENABLED=false ``` This now succeeds. Reviewed By: jknoxville Differential Revision: D48312784 Pulled By: passy fbshipit-source-id: f049e089a511726857f544386fe13dcb50fb2971
36 lines
1007 B
Groovy
36 lines
1007 B
Groovy
/*
|
|
* 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.9.0'
|
|
}
|
|
}
|
|
|
|
|
|
apply plugin: 'com.vanniktech.maven.publish'
|