1
0
mirror of https://gitee.com/51danju/workclock.git synced 2025-06-07 11:24:04 +08:00
workclock/app/build.gradle

146 lines
4.4 KiB
Groovy
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

apply plugin: 'com.android.application'
apply plugin: 'com.jakewharton.butterknife'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "clock.socoolby.com.clock"
minSdkVersion 16
targetSdkVersion 26
versionCode 3
versionName "1.2.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
productFlavors {
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
}
testOptions {
unitTests.returnDefaultValues = true
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
testImplementation 'junit:junit:4.13-beta-2'
//implementation 'com.mcxiaoke.volley:library:1.0.19'
implementation 'com.github.razerdp:BasePopup:2.2.0'
//BasePopup androidx支持库针对以上两个支持的androidX版本
//implementation 'com.github.razerdp:BasePopup-compat-androidx:2.2.0'
implementation 'com.haibin:calendarview:3.6.7'
implementation 'androidx.annotation:annotation:1.0.2'
implementation('com.github.bumptech.glide:glide:4.8.0') {
exclude group: "com.android.support"
}
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.blankj:utilcode:1.23.7'
implementation 'com.larswerkman:HoloColorPicker:1.5'
implementation('com.github.LuckSiege.PictureSelector:picture_library:v2.2.3') {
exclude group: "com.github.bumptech.glide"
}
// ViewModel and LiveData
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
implementation('com.gitee.51danju.e-odbo:e-odbo-jdbc:1.0-beta.16')
implementation 'org.slf4j:slf4j-android:1.7.26'
implementation 'org.sqldroid:sqldroid:1.1.0-rc1'
implementation "com.github.DeweyReed:UltimateMusicPicker:2.0.4"
implementation 'com.jakewharton:butterknife:10.1.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
implementation 'com.github.Jay-Goo:RangeSeekBar:v3.0.0'
//configurations { natives }
implementation 'com.badlogicgames.gdx:gdx-backend-android:1.9.10'
//natives "com.badlogicgames.gdx:gdx-platform:1.9.10:natives-armeabi"
//natives "com.badlogicgames.gdx:gdx-platform:1.9.10:natives-armeabi-v7a"
//natives "com.badlogicgames.gdx:gdx-platform:1.9.10:natives-arm64-v8a"
//natives "com.badlogicgames.gdx:gdx-platform:1.9.10:natives-x86"
//natives "com.badlogicgames.gdx:gdx-platform:1.9.10:natives-x86_64"
implementation 'com.esotericsoftware.spine:spine-libgdx:3.7.83.1'
implementation 'com.jeremyliao:live-event-bus-x:1.4.4'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
//msal
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.microsoft.identity.client:msal:0.3.2-alpha'
//debugImplementation 'com.idescout.sql:sqlscout-server:4.1'
//releaseImplementation 'com.idescout.sql:sqlscout-server-noop:4.1'
implementation 'com.github.samlss:ClockView:1.0'
implementation "com.ironsource.aura.oneadapter:oneadapter:1.2.0"
// Timber logging
implementation 'com.jakewharton.timber:timber:4.7.1'
}
/*task copyAndroidNatives() {
file("libs/armeabi/").mkdirs()
file("libs/armeabi-v7a/").mkdirs()
file("libs/arm64-v8a/").mkdirs()
file("libs/x86/").mkdirs()
configurations.natives.files.each { jar ->
def outputDir = null
if(jar.name.endsWith("natives-arm64-v8a.jar")) outputDir = file("libs/arm64-v8a")
if(jar.name.endsWith("natives-armeabi-v7a.jar")) outputDir = file("libs/armeabi-v7a")
if(jar.name.endsWith("natives-armeabi.jar")) outputDir = file("libs/armeabi")
if(jar.name.endsWith("natives-x86_64.jar")) outputDir = file("libs/x86_64")
if(jar.name.endsWith("natives-x86.jar")) outputDir = file("libs/x86")
if(outputDir != null) {
copy {
from zipTree(jar)
into outputDir
include "*.so"
}
}
}
}*/