Unity_Android_SendMsg/MyApplication2/mylibrary1/build.gradle

68 lines
2.2 KiB
Groovy

plugins {
alias(libs.plugins.android.library)
}
android {
namespace 'com.example.mylibrary1'
compileSdk 35
defaultConfig {
minSdk 21
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
//implementation libs.appcompat
//implementation libs.material
//testImplementation libs.junit
//androidTestImplementation libs.ext.junit
//androidTestImplementation libs.espresso.core
implementation 'androidx.appcompat:appcompat:1.2.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.47'
// implementation 'com.leon:lfilepickerlibrary:1.7.0'
implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
// implementation 'com.yancy.imageselector:imageselector:1.3.3'
implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'io.reactivex.rxjava2:rxkotlin:2.3.0'
// implementation 'com.jakewharton:butterknife:10.0.0'
// annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
implementation 'io.github.lucksiege:pictureselector:v3.11.2'
implementation files('unitylibs/classes.jar')
implementation fileTree(dir: "libs", include: ["*.jar","*.aar"])
implementation libs.appcompat
}
sourceSets {
main {
java {
// 忽略所有的 src/main/java/test目录
exclude 'com/unity3d/**'
}
resources {
// 打包忽略目录: src/main/resources/img
exclude 'img/**'
// 打包忽略文件: src/main/resources/icons/scanner.vsdx
exclude 'icons/scanner.vsdx'
}
}
}