Skip to content

Instantly share code, notes, and snippets.

@moorthi07
Last active September 16, 2016 22:28
Show Gist options
  • Save moorthi07/ce6821e0922245ce13f655f998616347 to your computer and use it in GitHub Desktop.
Save moorthi07/ce6821e0922245ce13f655f998616347 to your computer and use it in GitHub Desktop.
Android takes 10 minutes to compile On windows 10
app.gradle, compile output - below.
--------------
apply plugin: 'com.android.application'
//apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 23
buildToolsVersion '22.0.0'
defaultConfig {
applicationId "com.im.im.tvteet"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/services/javax.annotation.processing.Processor'
}
}
//for yelp jar
//repositories {
// mavenCentral()
//}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile "com.android.support:appcompat-v7:${android_support_lib_version}"
compile project(':alphonsoservices_lib')
compile "com.android.support:design:${android_support_lib_version}"
compile "com.android.support:cardview-v7:${android_support_lib_version}"
// compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.github.bumptech.glide:glide:3.6.1'
// compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.jakewharton:butterknife:8.0.1'
// apt 'com.jakewharton:butterknife-compiler:8.0.1'
// compile 'com.google.android.gms:play-services-ads:8.4.0'
// compile 'com.google.android.gms:play-services-identity:8.4.0'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
// compile 'com.google.gms:google-services:3.0.0'
// compile 'com.yelp.clientlib:yelp-android:1.0.0'
compile files('libs/commons-codec-1.4.jar')
compile files('libs/scribe.jar')
// compile 'com.yelp.clientlib:yelp-android:1.0.0'
}
Executing tasks: [:app:clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:assembleDebug]
Parallel execution with configuration on demand is an incubating feature.
Incremental java compilation is an incubating feature.
:app:clean
:alphonsoservices_lib:preBuild UP-TO-DATE
:alphonsoservices_lib:preReleaseBuild UP-TO-DATE
:alphonsoservices_lib:compileReleaseNdk UP-TO-DATE
:alphonsoservices_lib:compileLint
:alphonsoservices_lib:copyReleaseLint UP-TO-DATE
:alphonsoservices_lib:mergeReleaseProguardFiles UP-TO-DATE
:alphonsoservices_lib:packageReleaseRenderscript UP-TO-DATE
:alphonsoservices_lib:checkReleaseManifest
:alphonsoservices_lib:prepareReleaseDependencies
:alphonsoservices_lib:compileReleaseRenderscript UP-TO-DATE
:alphonsoservices_lib:generateReleaseResValues UP-TO-DATE
:alphonsoservices_lib:generateReleaseResources UP-TO-DATE
:alphonsoservices_lib:packageReleaseResources UP-TO-DATE
:alphonsoservices_lib:compileReleaseAidl UP-TO-DATE
:alphonsoservices_lib:generateReleaseBuildConfig UP-TO-DATE
:alphonsoservices_lib:mergeReleaseShaders UP-TO-DATE
:alphonsoservices_lib:compileReleaseShaders UP-TO-DATE
:alphonsoservices_lib:generateReleaseAssets UP-TO-DATE
:alphonsoservices_lib:mergeReleaseAssets UP-TO-DATE
:alphonsoservices_lib:processReleaseManifest UP-TO-DATE
:alphonsoservices_lib:processReleaseResources
:alphonsoservices_lib:generateReleaseSources
:alphonsoservices_lib:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:alphonsoservices_lib:compileReleaseJavaWithJavac UP-TO-DATE
:alphonsoservices_lib:processReleaseJavaRes UP-TO-DATE
:alphonsoservices_lib:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:alphonsoservices_lib:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:alphonsoservices_lib:mergeReleaseJniLibFolders UP-TO-DATE
:alphonsoservices_lib:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:alphonsoservices_lib:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:alphonsoservices_lib:bundleRelease UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2330Library
:app:prepareComAndroidSupportAppcompatV72330Library
:app:prepareComAndroidSupportCardviewV72330Library
:app:prepareComAndroidSupportDesign2330Library
:app:prepareComAndroidSupportRecyclerviewV72330Library
:app:prepareComAndroidSupportSupportV42330Library
:app:prepareComAndroidSupportSupportVectorDrawable2330Library
:app:prepareComGoogleAndroidGmsPlayServicesBase840Library
:app:prepareComGoogleAndroidGmsPlayServicesBasement840Library
:app:prepareComGoogleAndroidGmsPlayServicesGcm840Library
:app:prepareComGoogleAndroidGmsPlayServicesMeasurement840Library
:app:prepareComJakewhartonButterknife801Library
:app:prepareTvTeetAlphonsoservices_libUnspecifiedLibrary
:app:prepareDebugDependencies
:app:compileDebugAidl
:app:compileDebugRenderscript
:app:generateDebugBuildConfig
:app:mergeDebugShaders
:app:compileDebugShaders
:app:generateDebugAssets
:app:mergeDebugAssets
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources
:app:mergeDebugResources
:app:processDebugManifest
:app:processDebugResources
:app:generateDebugSources
:app:preDebugAndroidTestBuild UP-TO-DATE
:app:prepareDebugAndroidTestDependencies
:app:compileDebugAndroidTestAidl
:app:processDebugAndroidTestManifest
:app:compileDebugAndroidTestRenderscript
:app:generateDebugAndroidTestBuildConfig
:app:mergeDebugAndroidTestShaders
:app:compileDebugAndroidTestShaders
:app:generateDebugAndroidTestAssets
:app:mergeDebugAndroidTestAssets
:app:generateDebugAndroidTestResValues UP-TO-DATE
:app:generateDebugAndroidTestResources
:app:mergeDebugAndroidTestResources
:app:processDebugAndroidTestResources
:app:generateDebugAndroidTestSources
:app:mockableAndroidJar UP-TO-DATE
:app:preDebugUnitTestBuild UP-TO-DATE
:app:prepareDebugUnitTestDependencies
:app:incrementalDebugJavaCompilationSafeguard
:app:compileDebugJavaWithJavac
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:app:compileDebugNdk UP-TO-DATE
:app:compileDebugSources
:app:buildInfoDebugLoader
:app:transformClassesWithExtractJarsForDebug
:app:transformClassesWithInstantRunVerifierForDebug
:app:transformClassesWithJavaResourcesVerifierForDebug
:app:mergeDebugJniLibFolders
:app:transformNative_libsWithMergeJniLibsForDebug
:app:processDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForDebug
:app:transformResourcesAndNative_libsWithJavaResourcesVerifierForDebug
:app:transformClassesWithInstantRunForDebug
:app:transformClasses_enhancedWithInstant+reloadDexForDebug
:app:incrementalDebugTasks
:app:prePackageMarkerForDebug
:app:fastDeployDebugExtractor
:app:generateDebugInstantRunAppInfo
:app:transformClassesWithDexForDebug
Running dex in-process requires build tools 23.0.2.
For faster builds update this project to use the latest build tools.
:app:validateDebugSigning
:app:packageDebug
:app:zipalignDebug
:app:fullDebugBuildInfoGenerator
:app:assembleDebug
BUILD SUCCESSFUL
Total time: 10 mins 7.401 secs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment