OkBuck is a gradle plugin that lets developers utilize the Buck build system on a gradle project.
Full Changelog: https://github.com/uber/okbuck/compare/0.54.3...0.54.4
Full Changelog: https://github.com/uber/okbuck/compare/0.54.2...0.54.3
Our previous signing certificate was accidentally compromised, and so a new signing certificate has been generated for all Uber open source. This release just updates the signing certificate. No other code changes were made.
Full Changelog: https://github.com/uber/okbuck/compare/v0.54.0...v0.54.1
Full Changelog: https://github.com/uber/okbuck/compare/v0.53.3...v0.54.0
Full Changelog: https://github.com/uber/okbuck/compare/v0.53.2...v0.53.3
Full Changelog: https://github.com/uber/okbuck/compare/v0.53.1...v0.53.2
Full Changelog: https://github.com/uber/okbuck/compare/v0.52.3...v0.53.1
# Run `./gradlew wrapper` to generate a new wrapper which automatically gets this fix.
# You can also manually update your existing wrapper by removing below lines from buckw
setupBuckFlags ( ) {
EXTRA_BUCK_CONFIG="$EXTRA_BUCK_CONFIG --config-file .okbuck/config/okbuck.buckconfig"
}
if [[ -z "$SKIP_FLAGS" ]]; then
# --help|-h|help|kill|--version do not support --config-file
setupBuckFlags
fi
# Running `./buckw <command>` will add an entry of okbuck.buckconfig in your .buckconfig
# to ensure the config values are picked up at runtime.
Full Changelog: https://github.com/uber/okbuck/compare/v0.51.0...v0.52.0
// okbuck config
okbuck {
externalDependencies {
// enables exported deps resolution
enableExportedDeps = true
// only resolves third party deps
thirdPartyResolutionOnly = true
}
}
// settings.gradle
include ":tooling:gradle"
include ":tooling:gradle:dummy1"
include ":tooling:gradle:dummy2"
include ":tooling:gradle:dummy3"
include ":tooling:gradle:dummy4"
include ":tooling:gradle:dummy5"
// Add a simple build.gradle file to each dummy project
apply plugin: "java"
// Now the above setup will make a total of 8 projects available to gradle
// (root-project, :tooling, and the ones defined explicitly) which will be
// able to parallelize resolving configurations on up to 8 threads.
.buckconfig
. Otherwise, the build will fail.// remove these configs
[project]
glob_handler = watchman
build_file_search_method = watchman
okbuck {
kotlin {
version = "1.3.61"
// You can run ./buckw build .okbuck/workspace/kotlin_home: and
// check the error to get the sha256 when changing version.
compilerZipSha256 = "3901151ad5d94798a268d1771c6c0b7e305a608c2889fc98a674802500597b1c"
}
}
extraDepCaches
has been removed. Use extraDepCachesMap
instead.// Additional dependency caches. Every value "entry" will create a new configuration
// "entryExtraDepCache" that can be used to fetch and cache dependencies. the boolean defines
// weather a prebuilt rule needs to be skipped or not. { "tools": true } skips prebuilt rule for
// all tools dependencies.
extraDepCachesMap << [tools:false]
./gradlew buckwrapper
to get the latest version of buckw wrappertransofrm-2
is not included when running with gradle 5.x (https://github.com/uber/okbuck/pull/916) (fixes https://github.com/uber/okbuck/issues/873)Full Changelog: https://github.com/uber/okbuck/compare/v0.50.10...v0.51.0