sgZongLi-badge.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * This file contains Original Code and/or Modifications of Original Code
  3. * as defined in and that are subject to the Apache License
  4. * Version 2.0 (the 'License'). You may not use this file except in
  5. * compliance with the License. Please obtain a copy of the License at
  6. * http://opensource.org/licenses/Apache-2.0/ and read it before using this
  7. * file.
  8. *
  9. * The Original Code and all software distributed under the License are
  10. * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  11. * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  12. * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  13. * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  14. * Please see the License for the specific language governing rights and
  15. * limitations under the License.
  16. */
  17. repositories {
  18. // mavenCentral()
  19. maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
  20. maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
  21. }
  22. if (!project.ext.has('appShortcutBadgerVersion')) {
  23. ext.appShortcutBadgerVersion = '1.1.22'
  24. }
  25. if (!project.ext.has('appShortcutBadgerCustom')) {
  26. dependencies {
  27. compile "me.leolin:ShortcutBadger:${appShortcutBadgerVersion}@aar"
  28. }
  29. }