Releases: uber/okbuck
Releases · uber/okbuck
v0.54.4
v0.54.3
v0.54.2 - Update Signing Certificates
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.
v0.54.1
v0.54.0
v0.53.3
v0.53.2
v0.53.1
What's Changed
- Migrate CI to github actions by @kageiit in #937
- Update buck to 5516bef4 which includes fix for big sur by @raviagarwal7 in #938
- Update ci to only support jdk 11 by @kageiit in #941
- Add fossa license check to github actions by @kageiit in #940
- Update some dependencies by @kageiit in #942
- [Fossa] Fix dependency violations and general cleanup by @kageiit in #943
- Improve autoValueConfigurations error message by @dbworku in #946
- Enable android_library() targets to specify alternate deps for resources by @oliviernotteghem in #948
- [android lint] define project.properties rule by @nikhilramakrishnan in #949
- Switch standard way of publishing to maven + prepare to publish V0.52.4 by @oliviernotteghem in #950
- [android] fix spaces and comment on okbuckAndroidModules by @nikhilramakrishnan in #951
- removing okbuck linter hack by @gpolak in #953
- Adding path fixes for jetifier and lint artifacts on arm by @tyvsmith in #964
- Rebase release branch by @tyvsmith in #965
- numerous small fixes for current compatibility, otherwise android targets fail to build by @tyvsmith in #966
- Add Gradle 7 support by @tyvsmith in #963
- Converting gradle maven push script to productionized gradle plugin v… by @tyvsmith in #967
- Upgrade Jetifier to 1.0.0-beta03 by @avitricks in #969
- feat: Add support for exporting raw dependencies by @hvvikram in #973
New Contributors
- @dbworku made their first contribution in #946
- @oliviernotteghem made their first contribution in #948
- @nikhilramakrishnan made their first contribution in #949
- @gpolak made their first contribution in #953
- @avitricks made their first contribution in #969
- @hvvikram made their first contribution in #973
Full Changelog: v0.52.3...v0.53.1
v0.52.0
Enhancements
- OkBuck is now Java 11 Compatible (#921)
Potential Breaking Changes
- Kotlin is bumped to 1.4.10
Bug Fixes
# 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: v0.51.0...v0.52.0
v0.51.0
Enhancements
- Generates proguard artifact correctly for proguard version > 7 which uses a different package name (#914)
- Only creates manifest merger target if the project has an android app or library (#919)
- This removes the need to download android artifacts when building in a pure java repository.
- Supports gradle version 5.x, 6.x (#879)
- Supports android gradle plugin version 3.6.1 (#905)
- Kotlin version updated to 1.3.72 (#905)
- Use kotlin compiler zip (https://github.com/JetBrains/kotlin/releases/tag/v1.3.72) to build kotlin modules. (#922)
- Updated to latest buck version (#922)
- Faster resolution when using versioned deps and resolving 3rdparty deps only (#920)
// 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.
- Error-prone and other 3rdparty deps has been updated (#879)
Potential Breaking Changes
- Buck requires python 3.7.x or up to run.
- Install watchman or remove watchman as the glob handler from
.buckconfig
. Otherwise, the build will fail.
// remove these configs
[project]
glob_handler = watchman
build_file_search_method = watchman
- Kotlin version is not automatically detected from the classpath. Default is set to 1.3.72 but you can change it as below
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. UseextraDepCachesMap
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]
Bug Fixes
- Kotlin Home is downloaded and set correctly as part of buckw run. (#915)
- Please run
./gradlew buckwrapper
to get the latest version of buckw wrapper - This step in buckw can be removed once buck natively supports source path for kotlin home (facebook/buck#2121 (comment))
- Please run
- Resolved transformed artifacts from
transofrm-2
is not included when running with gradle 5.x (#916) (fixes #873)
Full Changelog: v0.50.10...v0.51.0