在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):uber/okbuck开源软件地址(OpenSource Url):https://github.com/uber/okbuck开源编程语言(OpenSource Language):Java 92.4%开源软件介绍(OpenSource Introduction):OkBuckOkBuck is a gradle plugin that lets developers utilize the Buck build system on a gradle project. InstallationThese are needed to build with buck Installation instructions for: Android NDK, Watchman ConfigurationSet the In root project buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.uber:okbuck:0.52.4'
}
}
repositories {
jcenter()
}
apply plugin: 'com.uber.okbuck' After applying the plugin, the following tasks will be added to the root project
Buck WrapperRun the buck wrapper task ./gradlew :buckWrapper This creates a Invoking buck commands via the buck wrapper has several advantages
Please make sure you have watchman installed for Usage# List all buck targets
./buckw targets //...
# Build a target
./buckw build <target>
# Install an apk target
./buckw install --run <apk-target>
# Generate an Intellij project
./buckw project See the Usage page for complete details on how to configure OkBuck and Buck. Buck Http CacheTo speed up your builds even more, you can use an implementation of Buck's HTTP Cache API to take advantage of building once and using the same build artifacts on all machines. ContributorsWe'd love for you to contribute to our open source projects. Before we can accept your contributions, we kindly ask you to sign our Uber Contributor License Agreement.
License
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论