فهرست منبع

Merge pull request #1155 from nextcloud/jsr250-api

jsr250 lib has moved from annotation to annotation-api
Andy Scherzinger 4 سال پیش
والد
کامیت
c8b85c47fe
2فایلهای تغییر یافته به همراه6 افزوده شده و 10 حذف شده
  1. 1 1
      app/build.gradle
  2. 5 9
      build.gradle

+ 1 - 1
app/build.gradle

@@ -188,7 +188,7 @@ dependencies {
     kapt "com.google.dagger:dagger-compiler:$daggerVersion"
     implementation 'com.github.lukaspili.autodagger2:autodagger2:1.1'
     kapt 'com.github.lukaspili.autodagger2:autodagger2-compiler:1.1'
-    compileOnly 'javax.annotation:jsr250-api:1.0'
+    compileOnly 'javax.annotation:javax.annotation-api:1.3.2'
     // Android only
     implementation 'org.greenrobot:eventbus:3.1.1'
     implementation 'io.requery:requery:1.5.1'

+ 5 - 9
build.gradle

@@ -28,9 +28,8 @@ buildscript {
     repositories {
         google()
         jcenter()
-        maven {
-            url 'https://jitpack.io'
-        }
+        maven { url 'https://jitpack.io' }
+        mavenCentral()
     }
     dependencies {
         classpath 'com.android.tools.build:gradle:3.5.0'
@@ -50,13 +49,10 @@ allprojects {
     repositories {
         google()
         jcenter()
-        maven {
-            url 'https://oss.sonatype.org/content/repositories/snapshots'
-        }
-        maven {
-            url 'https://jitpack.io'
-        }
+        maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
+        maven { url 'https://jitpack.io' }
         maven { url 'https://maven.google.com' }
+        mavenCentral()
     }
 }