forked from crowdin/mobile-sdk-android
/
build.gradle
73 lines (57 loc) · 1.97 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
plugins {
id 'com.android.library'
id 'kotlin-android'
}
ext {
libraryVersionCode = 6
libraryVersionName = "1.0.5"
publishedGroupId = 'com.crowdin.platform'
libraryName = 'CrowdinControlsSdk'
artifact = 'controls'
libraryDescription = "Crowdin SDK Controls - UI widget for easy access to the main features of the Crowdin SDK."
siteUrl = 'https://crowdin.com/'
gitUrl = 'https://github.com/crowdin/mobile-sdk-android'
libraryVersion = libraryVersionName
developerId = 'mykhailo-nester'
developerName = 'Mykhailo Nester'
developerEmail = 'nsmisha.dev@gmail.com'
licenseName = 'The MIT License'
licenseUrl = 'https://opensource.org/licenses/MIT'
allLicenses = ["MIT"]
}
android {
compileSdkVersion rootProject.ext.compileSdkVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode libraryVersionCode
versionName libraryVersionName
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
consumerProguardFiles 'consumer-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
implementation 'com.github.crowdin.mobile-sdk-android:sdk:1.4.5'
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.6.0'
implementation "androidx.appcompat:appcompat:1.4.1"
implementation "androidx.constraintlayout:constraintlayout:2.1.0"
implementation "androidx.multidex:multidex:2.0.1"
}
apply from: 'install.gradle'
apply from: 'maven.gradle'