Profile cover photo
Profile photo
Robert Burkhall
Developer / Engineer
Developer / Engineer
About
Posts

Post has attachment

Well, I left the Weather Channel and papa got a brand new gig for now.
Add a comment...

Post has attachment
This is awesome.
Add a comment...

Hi Folks,

 I'm in need of understanding how to create my own plugin implementation that will create dex files from my jetty asset .class files.  This is as far as I've gotten, know I'm close, and I know I'm just missing so info on how gradle works creating a custom plugin.  This is what I've added to my build.gradle.  Any insights on where I can find the definitive answer is appreciated.

class CreateDexFilesForJetty implements Plugin<Project> {
    String dest

    void createFile() {
        def file = project.file(dest) //getDestination()
        file.parentFile.mkdirs()
        file.write dest
    }

    void apply(Project project) {
        String buildDir = project.getBuildDir()
        String inClassDir  = "${buildDir}/classes/debug/com/wuttech/app"
        String outDexDir   = "${buildDir}/assets/debug/jetty"
        String classInFile = "${outDexDir}/pushWebSocketServlet.java"
        String dexOutFile  = "${inClassDir}/pushWebSocketServlet.java.dex"

        project.extensions.create("dirs", DexFileCreatorExtension)

        project.task('Unpack Dependencies') << {
            //
            dest = ""
        }

        project.task('Create Dex Files') << {
            println "${dexOutFile}"
            println "${classInFile}"
        }


        project.task('Zip Dex Files') << {
            println "${dexOutFile}"
            println "${classInFile}"
        }

    }

Post has attachment
Has anyone got this error when switching preview's?  It seems that only the Nexus 5 (5.0") is the only working version.  And editing the in preview seems to be broken in 0.5.3.  This is really getting old.


Rendering Problem:
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Photo

Post has attachment
Updating to Android Studio 0.5.1 revealed issues with my project after the upgrade, read what I did to resolve the issue.  #Gradle  

Post has attachment
Why is  the fabric of our country being torn apart like this flag?  Neglect!
Photo
Add a comment...

Post has attachment
Veronica & Grace
Photo
Add a comment...

Post has attachment
Animated Photo
Add a comment...

Post has attachment
PhotoPhotoPhotoPhotoPhoto
2013-08-01
5 Photos - View album
Add a comment...

Post has shared content
Add a comment...
Wait while more posts are being loaded