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 1
1
apply plugin : ' com.android.library'
2
+ apply plugin : ' maven-publish'
2
3
3
4
ext {
4
5
bintrayRepo = ' maven'
25
26
}
26
27
27
28
android {
28
- compileSdk 32
29
+ compileSdkVersion 32
29
30
30
31
defaultConfig {
31
32
minSdkVersion 14
@@ -36,7 +37,26 @@ android {
36
37
37
38
}
38
39
40
+ repositories {
41
+ maven {
42
+ url " https://repo.itextsupport.com/android"
43
+ }
44
+ }
39
45
dependencies {
40
- api project(path : ' :pdfium-android' )
41
46
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
+ }
42
62
}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
5
5
jcenter()
6
6
}
7
7
dependencies {
8
- classpath ' com.android.tools.build:gradle:3.4.2 '
8
+ classpath ' com.android.tools.build:gradle:7.1.3 '
9
9
classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
10
10
classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1'
11
11
}
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =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