Home | History | Annotate | Download | only in generator
      1 // generator module
      2 
      3 apply plugin: 'java'
      4 
      5 dependencies {
      6     compile project(':shared')
      7 
      8     testCompile 'junit:junit:4.12'
      9     testCompile project(':sharedtest')
     10 }
     11 
     12 task copyTestResources(type: Copy) {
     13     // AS/IntelliJ workaround: https://code.google.com/p/android/issues/detail?id=64887#c26
     14     if (System.properties['idea.platform.prefix'] != null) {
     15         from sourceSets.test.resources
     16         into sourceSets.test.output.classesDir
     17     }
     18 }
     19 
     20 processTestResources.dependsOn copyTestResources
     21 
     22 // EOF
     23