1.1 --- a/build.gradle Sat Feb 14 00:21:19 2015 +0100 1.2 +++ b/build.gradle Sat Feb 14 00:28:10 2015 +0100 1.3 @@ -40,38 +40,6 @@ 1.4 } 1.5 productFlavors { 1.6 } 1.7 - //dexOptions { 1.8 - // preDexLibraries = false 1.9 - //} 1.10 -} 1.11 - 1.12 -// Kludgy attempt to patch ical4j 1.13 -//task fixDeps(type: zip) { 1.14 -// zip -d $cache/ical4j-*.jar net/fortuna/ical4j/model/TimeZoneRegistryImpl.class 1.15 -// zip -d $cache/ical4j-*.jar net/fortuna/ical4j/util/ResourceLoader.class 1.16 -//} 1.17 -// Hack contains patched ical4j files 1.18 -task patchIcal(type: Copy) { 1.19 - from 'hack' 1.20 - include 'model/' 1.21 - include 'util/' 1.22 - into 'src/net/fortuna/ical4j' 1.23 -} 1.24 -configure(patchIcal) { 1.25 - group = BasePlugin.ASSEMBLE_TASK_NAME // Or BUILD_GROUP 1.26 - description = 'Patch embedded ical4j dependency in a kludgy way' 1.27 -} 1.28 -task patchWipe(type: Delete) { 1.29 - delete 'src/net' 1.30 -} 1.31 -configure(patchWipe) { 1.32 - group = BasePlugin.ASSEMBLE_TASK_NAME // Or BUILD_GROUP 1.33 - description = 'Deletes patched dependencies in a kludgy way' 1.34 -} 1.35 -project.afterEvaluate{ 1.36 - clean.dependsOn(patchWipe) 1.37 - compileDebugJava.dependsOn(patchIcal) 1.38 - compileReleaseJava.dependsOn(patchIcal) 1.39 } 1.40 1.41 dependencies {