123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- plugins {
- id 'com.android.application'
- }
- android {
- namespace 'com.compdfkit.contenteditor'
- compileSdk rootProject.ext.android.COMPILESDK
- resourcePrefix 'edit_'
- defaultConfig {
- applicationId "com.compdfkit.contenteditor"
- minSdk rootProject.ext.android.MINSDK
- targetSdk rootProject.ext.android.TARGETSDK
- versionCode rootProject.ext.android.VERSIONCODE
- versionName rootProject.ext.sdk.CONVERSION_SDK_VERSION
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- android.applicationVariants.all { variant ->
- variant.outputs.all {
- if (outputFileName.toLowerCase().endsWith('unsigned.apk')) {
- outputFileName = "Content_Editor_ComPDFKit.apk"
- }
- }
- }
- }
- debug {
- android.applicationVariants.all { variant ->
- variant.outputs.all {
- if (outputFileName.toLowerCase().endsWith('debug.apk')) {
- outputFileName = "Content_Editor_ComPDFKit.apk"
- }
- }
- }
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- buildFeatures {
- viewBinding = true
- }
- }
- dependencies {
- implementation 'androidx.appcompat:appcompat:1.6.1'
- implementation 'com.google.android.material:material:1.8.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- implementation project(':ComPDFKit_Tools')
- }
|