Okbuck Versions Save

OkBuck is a gradle plugin that lets developers utilize the Buck build system on a gradle project.

0.54.4

1 month ago

What's Changed

Full Changelog: https://github.com/uber/okbuck/compare/0.54.3...0.54.4

0.54.3

4 months ago

What's Changed

Full Changelog: https://github.com/uber/okbuck/compare/0.54.2...0.54.3

0.54.2

4 months ago

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

6 months ago

What's Changed

Full Changelog: https://github.com/uber/okbuck/compare/v0.54.0...v0.54.1

v0.54.0

6 months ago

What's Changed

Full Changelog: https://github.com/uber/okbuck/compare/v0.53.3...v0.54.0

v0.53.3

1 year ago

What's Changed

Full Changelog: https://github.com/uber/okbuck/compare/v0.53.2...v0.53.3

v0.53.2

1 year ago

What's Changed

Full Changelog: https://github.com/uber/okbuck/compare/v0.53.1...v0.53.2

v0.53.1

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/uber/okbuck/compare/v0.52.3...v0.53.1

v0.52.0

3 years ago

Enhancements

  • OkBuck is now Java 11 Compatible (#921)

Potential Breaking Changes

  • Kotlin is bumped to 1.4.10

Bug Fixes

  • okbuck.buckconfig params can now be overridden (#929). Fixes (#927)
# 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

v0.51.0

3 years ago

Enhancements

// 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.

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. 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]

Bug Fixes

Full Changelog: https://github.com/uber/okbuck/compare/v0.50.10...v0.51.0