necromantiarian

gradle bug plugin newest snapshot

Dec 12th, 2014
215
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apply plugin: 'groovy'
  2. apply plugin: 'myplugin'
  3.  
  4.  
  5. configurations {
  6.     //2nd step added explicitly classpath to dependencies
  7.     classpath
  8.     mypluginDependencies
  9. }
  10.  
  11.  
  12.  
  13. configurations.all {
  14.     // check for updates every build
  15.     resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
  16.     resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
  17. }
  18.  
  19. buildscript {
  20.     repositories {
  21.         maven {
  22.             url "my repo url"
  23.         }
  24.         mavenCentral()
  25.     }
  26.  
  27.     dependencies {
  28.         classpath 'com.mine:unfinishednewiterationofplugin:3.0-SNAPSHOT'
  29.     }
  30. }
  31. //2nd step added here
  32. dependencies {
  33.    classpath 'com.mine:unfinishednewiteration:3.0-SNAPSHOT'
  34. }
RAW Paste Data Copied