首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏白石

    Groovy秘诀 顶

    使用AntBuilder复制文件 Groovy内建了对Ant的支持!复杂的文件操作可以直接使用Ant的. to a Directory def ant = new AntBuilder() ant.copy(file:"src.txt", todir:".. :"dest.txt", overwrite:true) //Using AntBuilder to Copy a Directory def ant = new AntBuilder() ant.copy def ant = new AntBuilder() ant.delete(file:"src.txt") 删除 目录 def ant = new AntBuilder() ant.delete(dir /backup.tar") //Zipping Up Selected Files def ant = new AntBuilder() ant.zip(destfile:"..

    5.2K30发布于 2019-08-23
  • 来自专栏Android学习之路

    Gradle 构建脚本

    projectDir File 配置脚本所在的目录 buildDir File projectDir/build 输出目录 group Object 未指定 version Object 未指定 ant AntBuilder AntBuilder 实例 settings.gradle 这是一个设置文件,用于初始化以及项目树的配置。

    1.2K20发布于 2019-12-11
  • 来自专栏yanlongli_艳龙

    自定义 Gradle Plugin

    process.waitFor(); //5 拷贝so String outPath = jniSoDir.getAbsoluteFile(); (new AntBuilder

    52220编辑于 2021-12-16
  • 来自专栏叽叽西

    Gradle Writing Build Scripts

    build script. buildDir File *projectDir*/build group Object unspecified version Object unspecified ant AntBuilder An AntBuilder instance 这里描述的构建脚本针对 Project 对象。

    82910编辑于 2022-05-17
  • 来自专栏罗西的思考

    [记录点滴]Ionic编译过程的研究

    var knownBuilders = { ant: 'AntBuilder', gradle: 'GradleBuilder', none: 'GenericBuilder'

    83320发布于 2020-09-07
  • 来自专栏叽叽西

    Gradle 构建脚本基础(introductory tutorial)

    Groovy 附带了神奇的 AntBuilder。 在 Gradle 使用 Ant 任务比在 build.xml 文件中使用 Ant 任务更方便、更强大。 而且在 Kotlin 也可以使用。

    1.1K20编辑于 2022-05-17
领券