12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- group 'com.compdfkit.flutter.compdfkit_flutter'
- version '1.0'
- buildscript {
- repositories {
- google()
- mavenCentral()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:7.3.0'
- }
- }
- rootProject.allprojects {
- repositories {
- google()
- mavenCentral()
- }
- }
- apply plugin: 'com.android.library'
- android {
- compileSdk 33
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- defaultConfig {
- minSdkVersion 21
- }
- dependencies {
- compileOnly fileTree(include: ['*.jar','*.aar'], dir: 'libs')
- implementation 'com.google.android.material:material:1.8.0'
- implementation 'androidx.appcompat:appcompat:1.6.1'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- // dependencies compdfkit pdf sdk
- api 'com.compdf:compdfkit-tools:2.2.0-SNAPSHOT'
- testImplementation 'junit:junit:4.13.2'
- testImplementation 'org.mockito:mockito-core:5.0.0'
- api 'com.github.bumptech.glide:glide:4.15.1'
- annotationProcessor 'com.github.bumptech.glide:compiler:4.15.1'
- api 'androidx.documentfile:documentfile:1.0.1'
- }
- testOptions {
- unitTests.all {
- testLogging {
- events "passed", "skipped", "failed", "standardOut", "standardError"
- outputs.upToDateWhen {false}
- showStandardStreams = true
- }
- }
- }
- }
- // refresh snapshot implementation
- configurations.all { resolutionStrategy.cacheChangingModulesFor 0, 'seconds' }
|