mop-flutter-sdk/android/build.gradle

84 lines
1.8 KiB
Groovy
Raw Normal View History

2020-02-27 22:59:31 +08:00
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
2020-02-27 17:21:45 +08:00
group 'com.finogeeks.mop'
version '1.0'
buildscript {
repositories {
google()
jcenter()
2020-02-27 22:59:31 +08:00
maven {
url "https://gradle.finogeeks.club/repository/finogeeks/"
credentials {
username "xiaoyu"
password "xy123456"
}
}
maven { url "https://jitpack.io" }
2020-02-27 17:21:45 +08:00
}
dependencies {
2020-02-27 22:59:31 +08:00
classpath 'com.android.tools.build:gradle:3.4.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.60"
2020-02-27 17:21:45 +08:00
}
}
rootProject.allprojects {
repositories {
google()
jcenter()
2020-02-27 22:59:31 +08:00
maven {
url "https://gradle.finogeeks.club/repository/finogeeks/"
credentials {
username "xiaoyu"
password "xy123456"
}
}
maven { url "https://jitpack.io" }
2020-02-27 17:21:45 +08:00
}
}
android {
compileSdkVersion 28
defaultConfig {
2020-02-27 22:59:31 +08:00
minSdkVersion 21
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
2020-02-27 17:21:45 +08:00
}
lintOptions {
disable 'InvalidPackage'
}
}
2020-02-27 22:59:31 +08:00
kapt {
arguments {
arg("moduleName", project.getName())
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.finogeeks.lib:finapplet:2.0.51'
implementation 'org.greenrobot:greendao:3.2.2'
}