|
| 1 | +/* |
| 2 | + * Copyright (C) 2020 Orange |
| 3 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | + * you may not use this file except in compliance with the License. |
| 5 | + * You may obtain a copy of the License at |
| 6 | + * |
| 7 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | + * |
| 9 | + * Unless required by applicable law or agreed to in writing, software |
| 10 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | + * See the License for the specific language governing permissions and |
| 13 | + * limitations under the License. |
| 14 | + */ |
| 15 | + |
| 16 | +plugins { |
| 17 | + id 'com.android.application' |
| 18 | + id 'kotlin-android' |
| 19 | + id 'org.jetbrains.dokka' |
| 20 | +} |
| 21 | + |
| 22 | +android { |
| 23 | + compileSdkVersion 30 |
| 24 | + buildToolsVersion "30.0.2" |
| 25 | + |
| 26 | + defaultConfig { |
| 27 | + applicationId "io.devicefarmer.minicap" |
| 28 | + minSdkVersion 21 |
| 29 | + targetSdkVersion 30 |
| 30 | + versionCode 1 |
| 31 | + versionName "0.3" |
| 32 | + archivesBaseName = "minicap" |
| 33 | + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| 34 | + } |
| 35 | + |
| 36 | + buildTypes { |
| 37 | + release { |
| 38 | + minifyEnabled false |
| 39 | + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| 40 | + } |
| 41 | + } |
| 42 | + compileOptions { |
| 43 | + sourceCompatibility JavaVersion.VERSION_1_8 |
| 44 | + targetCompatibility JavaVersion.VERSION_1_8 |
| 45 | + } |
| 46 | + kotlinOptions { |
| 47 | + jvmTarget = '1.8' |
| 48 | + } |
| 49 | +} |
| 50 | + |
| 51 | +dependencies { |
| 52 | + |
| 53 | + implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" |
| 54 | + implementation 'androidx.core:core-ktx:1.3.2' |
| 55 | + implementation 'androidx.appcompat:appcompat:1.2.0' |
| 56 | + implementation 'com.google.android.material:material:1.3.0' |
| 57 | + implementation 'org.slf4j:slf4j-api:1.7.30' |
| 58 | + implementation 'com.github.tony19:logback-android:2.0.0' |
| 59 | +} |
0 commit comments