1 Star 2 Fork 1

studioai/opengles4android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
module.gradle 2.21 KB
一键复制 编辑 原始数据 按行查看 历史
byhook 提交于 2022-10-30 14:44 . 更新相关依赖配置
if (library.toBoolean()) {
apply plugin: 'com.android.library'
} else {
apply plugin: 'com.android.application'
}
android {
//构建版本
compileSdkVersion rootProject.ext.android.compileSdkVersion
//默认的配置
defaultConfig {
minSdkVersion rootProject.ext.android.minSdkVersion
targetSdkVersion rootProject.ext.android.targetSdkVersion
versionCode rootProject.ext.android.versionCode
versionName rootProject.ext.android.versionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi-v7a","arm64-v8a"
}
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName()]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dexOptions {
javaMaxHeapSize "4g"
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
sourceSets {
main {
//清单配置
if (library.toBoolean()) {
manifest.srcFile 'src/main/release/AndroidManifest.xml'
} else {
manifest.srcFile 'src/main/debug/AndroidManifest.xml'
}
//库地址
java.srcDirs = ['src/main/java', 'src/main/aidl']
jniLibs.srcDirs = ['libs']
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "androidx.core:core-ktx:${versions.coreKtxVersion}"
implementation "androidx.appcompat:appcompat:${versions.appcompatVersion}"
implementation "com.google.android.material:material:${versions.materialVersion}"
implementation "androidx.constraintlayout:constraintlayout:${versions.constraintlayoutVersion}"
testImplementation "junit:junit:${versions.junitVersion}"
androidTestImplementation "androidx.test.ext:junit:${versions.junitExtVersion}"
androidTestImplementation "androidx.test.espresso:espresso-core:${versions.espressoVersion}"
implementation project(':common-base')
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/studioai/opengles4android.git
git@gitee.com:studioai/opengles4android.git
studioai
opengles4android
opengles4android
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385