Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2.  
  3. android {
  4. compileSdkVersion 21
  5. buildToolsVersion "21.1.1"
  6.  
  7. defaultConfig {
  8. applicationId "com.geronimo.myapplication"
  9. minSdkVersion 18
  10. targetSdkVersion 21
  11. versionCode 1
  12. versionName "1.0"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. }
  21.  
  22. dependencies {
  23. compile fileTree(dir: 'libs', include: ['*.jar'])
  24. compile 'com.android.support:appcompat-v7:21.0.3'
  25. compile 'com.github.ozodrukh:CircularReveal:(latest-release)@aar'
  26. }
  27.  
  28. I have added the repository in `build.gradle(Project: MyApplication3)`
  29.  
  30. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  31.  
  32. buildscript {
  33. repositories {
  34. jcenter()
  35. maven {
  36. url "https://jitpack.io"
  37. }
  38.  
  39. }
  40. dependencies {
  41. classpath 'com.android.tools.build:gradle:1.1.0'
  42.  
  43. // NOTE: Do not place your application dependencies here; they belong
  44. // in the individual module build.gradle files
  45. }
  46. }
  47.  
  48. allprojects {
  49. repositories {
  50. jcenter()
  51. maven {
  52. url "https://jitpack.io"
  53. }
  54. }
  55. }
  56.  
  57. D:WorkspacesAndroidStudioStudio1.0MyApplication3appbuild.gradle
  58. Error:(24, 13) Failed to resolve: com.github.ozodrukh:CircularReveal:(latest-release)
  59. <a href="openFile">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement