2017-03-29 06:03:15 +08:00
|
|
|
/* Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
or more contributor license agreements. See the NOTICE file
|
|
|
|
distributed with this work for additional information
|
|
|
|
regarding copyright ownership. The ASF licenses this file
|
|
|
|
to you under the Apache License, Version 2.0 (the
|
|
|
|
"License"); you may not use this file except in compliance
|
|
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
|
|
software distributed under the License is distributed on an
|
|
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
KIND, either express or implied. See the License for the
|
|
|
|
specific language governing permissions and limitations
|
|
|
|
under the License.
|
|
|
|
*/
|
|
|
|
|
2017-02-15 08:45:57 +08:00
|
|
|
apply plugin: 'com.android.application'
|
2020-01-27 15:14:58 +08:00
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2017-02-15 08:45:57 +08:00
|
|
|
|
|
|
|
android {
|
2020-01-07 23:47:27 +08:00
|
|
|
compileSdkVersion 29
|
|
|
|
buildToolsVersion "29.0.2"
|
2018-09-26 15:29:31 +08:00
|
|
|
|
2017-02-15 08:45:57 +08:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.apache.cordova.unittests"
|
2017-12-15 05:24:28 +08:00
|
|
|
minSdkVersion 19
|
2020-01-07 23:47:27 +08:00
|
|
|
targetSdkVersion 29
|
2017-02-15 08:45:57 +08:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
2018-09-26 15:29:31 +08:00
|
|
|
|
2017-02-15 08:45:57 +08:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-12-01 02:56:28 +08:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
implementation project(path: ':CordovaLib')
|
2017-10-26 02:38:07 +08:00
|
|
|
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
2017-02-15 08:45:57 +08:00
|
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
|
})
|
2017-12-01 02:56:28 +08:00
|
|
|
androidTestImplementation('com.android.support.test.espresso:espresso-web:2.2.2', {
|
2017-02-15 08:45:57 +08:00
|
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
|
})
|
2017-10-26 02:38:07 +08:00
|
|
|
implementation 'com.android.support:appcompat-v7:26.1.0'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
testImplementation 'org.json:json:20140107'
|
2020-01-27 15:14:58 +08:00
|
|
|
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
2017-02-15 08:45:57 +08:00
|
|
|
}
|