-
Notifications
You must be signed in to change notification settings - Fork 170
/
build.gradle
53 lines (46 loc) · 1.73 KB
/
build.gradle
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
apply plugin: 'com.android.library'
def VERSION_NAME = project.VERSION_NAME
def VERSION_CODE = Integer.parseInt(project.VERSION_CODE)
def ANDROID_COMPILE_SDK_VERSION = Integer.parseInt(project.ANDROID_COMPILE_SDK_VERSION)
def ANDROID_TARGET_SDK_VERSION = Integer.parseInt(project.ANDROID_TARGET_SDK_VERSION)
//def ANDROID_BUILD_TOOLS_VERSION = project.ANDROID_BUILD_TOOLS_VERSION
def ANDROID_MIN_SDK_VERSION = Integer.parseInt(project.ANDROID_MIN_SDK_VERSION)
def JAVA_COMPATIBILITY = JavaVersion.valueOf(project.JAVA_COMPATIBILITY)
android {
namespace 'com.obsez.android.lib.filechooser'
compileSdkVersion ANDROID_COMPILE_SDK_VERSION
//buildToolsVersion ANDROID_BUILD_TOOLS_VERSION
resourcePrefix "obsez_fc__"
defaultConfig {
minSdkVersion ANDROID_MIN_SDK_VERSION
targetSdkVersion ANDROID_TARGET_SDK_VERSION
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
// debug {
// buildConfig "public final static boolean HAS_PROTOTYPE_FEATURE = true;"
// }
// release {
// buildConfig "public final static boolean HAS_PROTOTYPE_FEATURE = false;"
// }
}
compileOptions {
sourceCompatibility JAVA_COMPATIBILITY
targetCompatibility JAVA_COMPATIBILITY
}
lint {
abortOnError false
checkReleaseBuilds false
disable 'InvalidPackage', 'OldTargetApi', 'IconDensities', 'deprecation'
ignoreWarnings true
lintConfig file('lint.xml')
quiet true
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.7.0'
}