Browse Source

PDFTool(Android) - 1.SDK依赖

liuxiaolong 1 year ago
parent
commit
ffcfe8aeb8
4 changed files with 5 additions and 15 deletions
  1. 3 0
      .gitignore
  2. 2 6
      ComPDFKit_Tools/build.gradle
  3. 0 2
      PDFViewer/build.gradle
  4. 0 7
      settings.gradle

+ 3 - 0
.gitignore

@@ -18,3 +18,6 @@ local.properties
 /ComPDFKit_Repo/compdfkit/build/
 /ComPDFKit_Repo/compdfkit-ui/build/
 secring.gpg
+compdfkit-mavencentral.gradle
+compdfkit-tools-mavencentral.gradle
+compdfkit-ui-mavencentral.gradle

+ 2 - 6
ComPDFKit_Tools/build.gradle

@@ -41,18 +41,14 @@ android {
 dependencies {
 
     api fileTree(include: ['*.jar'], dir: 'libs')
-//    api project(path:':ComPDFKit_Repo:compdfkit')
-//    api project(path:':ComPDFKit_Repo:compdfkit-ui')
+    api project(path:':ComPDFKit_Repo:compdfkit')
+    api project(path:':ComPDFKit_Repo:compdfkit-ui')
     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'
 
     implementation 'androidx.appcompat:appcompat:1.6.1'
     implementation 'com.google.android.material:material:1.8.0'
     implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
     implementation 'com.google.android.flexbox:flexbox:3.0.0'
-    api 'com.compdf:compdfkit:1.9.1-SNAPSHOT'
-    api 'com.compdf:compdfkit-ui:1.9.1-SNAPSHOT'
-
 }

+ 0 - 2
PDFViewer/build.gradle

@@ -52,7 +52,5 @@ dependencies {
     implementation 'com.google.android.material:material:1.8.0'
     implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
     implementation 'pub.devrel:easypermissions:3.0.0'
-    api 'com.compdf:compdfkit:1.9.1-SNAPSHOT'
-    api 'com.compdf:compdfkit-ui:1.9.1-SNAPSHOT'
     api project(path: ':ComPDFKit_Tools')
 }

+ 0 - 7
settings.gradle

@@ -1,8 +1,5 @@
 pluginManagement {
     repositories {
-        maven {
-            url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
-        }
         google()
         mavenCentral()
         gradlePluginPortal()
@@ -11,12 +8,8 @@ pluginManagement {
 dependencyResolutionManagement {
     repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
     repositories {
-        maven {
-            url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
-        }
         google()
         mavenCentral()
-
     }
 }
 rootProject.name = "compdfkit_android_demo"