博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Android编译工具Freeline的使用
阅读量:2389 次
发布时间:2019-05-10

本文共 696 字,大约阅读时间需要 2 分钟。

前提条件:安装python 2.7版本

在项目级配置文件build.gradle中添加以下内容

buildscript {    repositories {        jcenter()    }    dependencies {        classpath 'com.android.tools.build:gradle:2.3.0'        classpath 'com.antfortune.freeline:gradle:0.8.6'        // NOTE: Do not place your application dependencies here; they belong        // in the individual module build.gradle files    }}

在模块级配置文件build.gradle中添加以下内容

apply plugin: 'com.antfortune.freeline'

执行以下命令初始化项目, 这一步会等待比较长的时间

使用Freeline编译项目

python freeline.py

python freeline.py --help 查看帮助信息

python freeline.py -f 强制全量编译

参考资料

官方网站:https://www.freelinebuild.com/

原理:

https://yq.aliyun.com/articles/62334

https://yq.aliyun.com/articles/59122

类似的工具facebook buck

你可能感兴趣的文章
使用Win32API开始openGL编程
查看>>
使用MFC开始openGL编程
查看>>
关于Gbuffer中的normal存储
查看>>
近距离观察Tone mapping.
查看>>
Physically based shading
查看>>
Color correction
查看>>
Temporal AA
查看>>
miniz compared to other real-time and high-ratio compressors
查看>>
Random number for GPU
查看>>
SSR
查看>>
引擎核心架构
查看>>
[转]关于现代CPU,程序员应当更新的知识
查看>>
游戏设计架构的一种方法
查看>>
使用singleton
查看>>
初步使用STL
查看>>
C++模版使用
查看>>
FMOD音频引擎简单使用
查看>>
虚幻引擎网络架构——No.0概述
查看>>
Tips for optimizing mobile graphic performance
查看>>
Computer shader in practice.
查看>>