/
build.gradle.kts
56 lines (46 loc) · 1.39 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
plugins {
id("com.android.library")
id("kotlin-android")
}
group = "com.facebook.android"
extra["name"] = "Facebook-Applinks-Android-SDK"
extra["artifactId"] = "facebook-applinks"
extra["description"] = "Facebook Applinks Android SDK"
extra["url"] = "https://github.com/facebook/facebook-android-sdk"
dependencies {
// Facebook Dependencies
api(project(":facebook-core"))
// Support Dependencies
implementation(Libs.androidx_annotation)
implementation(Libs.androidx_legacy_support_core_utils)
}
android {
compileSdkVersion(Config.compileSdk)
defaultConfig {
minSdkVersion(Config.minSdk)
targetSdkVersion(Config.targetSdk)
consumerProguardFiles("proguard-rules.pro")
}
sourceSets {
named("test") {
java.srcDir("src/test/kotlin")
}
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
}
}
}
if (file("${rootDir}/internal/safekit-build.gradle").exists()) {
project.apply(from = "${rootDir}/internal/safekit-build.gradle")
}
apply(from = "${rootDir}/maven.gradle")