mop-flutter-sdk/android/build.gradle

97 lines
2.1 KiB
Dart
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-04-14 17:08:56 +08:00
maven {
url "https://gradle.finogeeks.club/repository/finogeeks/"
credentials {
username "gradle"
password "ftjk@@123321"
}
}
2020-02-27 22:59:31 +08:00
maven {
2020-02-28 12:20:44 +08:00
url "https://gradle.finogeeks.club/repository/applet/"
2020-02-27 22:59:31 +08:00
credentials {
2020-02-28 12:20:44 +08:00
username "applet"
password "123321"
2020-02-27 22:59:31 +08:00
}
}
maven { url "https://jitpack.io" }
2020-02-27 17:21:45 +08:00
}
dependencies {
2020-02-28 18:06:13 +08:00
classpath 'com.android.tools.build:gradle:3.5.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61"
2020-02-27 22:59:31 +08:00
2020-02-27 17:21:45 +08:00
}
}
rootProject.allprojects {
repositories {
google()
jcenter()
2020-04-14 17:08:56 +08:00
maven {
url "https://gradle.finogeeks.club/repository/finogeeks/"
credentials {
username "gradle"
password "ftjk@@123321"
}
}
2020-02-27 22:59:31 +08:00
maven {
2020-02-28 12:20:44 +08:00
url "https://gradle.finogeeks.club/repository/applet/"
2020-02-27 22:59:31 +08:00
credentials {
2020-02-28 12:20:44 +08:00
username "applet"
password "123321"
2020-02-27 22:59:31 +08:00
}
}
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')
2020-08-24 17:52:21 +08:00
implementation 'com.finogeeks.lib:finapplet:2.10.7'
2020-02-27 22:59:31 +08:00
}