User Tools

Site Tools


android:freeline

This is an old revision of the document!


Android Freeline

Freeline it's an open source solution to speed up your compiling, like 2 seconds compared to 2 minutes in the old way. It's super fast because of the increment build only for the changed class.

How to Integrate

1. Add to the build.gradle in the root director of your project

 buildscript {
     dependencies {
         classpath 'com.android.tools.build:gradle:2.2.2'
         classpath 'com.google.gms:google-services:1.4.0-beta3'
 
         //Freeline
         classpath 'com.antfortune.freeline:gradle:0.8.2'
     }

2. Add to the app/build.gradle

//Freeline
apply plugin: 'com.antfortune.freeline'

android {
     ...
     freeline {
         hack true
         productFlavor 'flavorA'
     }
 
     productFlavors {
        flavorA {}
     }
     ...
}

/var/www/dokuwiki/wiki/data/attic/android/freeline.1481086068.txt.gz · Last modified: 2016/12/07 12:47 by percy