File tree Expand file tree Collapse file tree 3 files changed +24
-4
lines changed
Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
2+ apply plugin : ' maven-publish'
23
34ext {
45 bintrayRepo = ' maven'
2526}
2627
2728android {
28- compileSdk 32
29+ compileSdkVersion 32
2930
3031 defaultConfig {
3132 minSdkVersion 14
@@ -36,7 +37,26 @@ android {
3637
3738}
3839
40+ repositories {
41+ maven {
42+ url " https://repo.itextsupport.com/android"
43+ }
44+ }
3945dependencies {
40- api project(path : ' :pdfium-android' )
4146 implementation ' androidx.core:core:1.7.0'
47+ implementation ' com.itextpdf.android.pdfium:pdfium-android:1.9.0'
48+ }
49+
50+ project. afterEvaluate {
51+ publishing {
52+ publications {
53+ library(MavenPublication ) {
54+ groupId = ' com.itextpdf.android.pdfviewer'
55+ artifactId = ' android-pdf-viewer'
56+ version = android. defaultConfig. versionName
57+
58+ artifact bundleReleaseAar
59+ }
60+ }
61+ }
4262}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
55 jcenter()
66 }
77 dependencies {
8- classpath ' com.android.tools.build:gradle:3.4.2 '
8+ classpath ' com.android.tools.build:gradle:7.1.3 '
99 classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
1010 classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1'
1111 }
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-5.1.1-all .zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.2-bin .zip
You can’t perform that action at this time.
0 commit comments