Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Kotlin DSL / Convention Plugins / Java Modules #1732

Merged
merged 86 commits into from
Jul 9, 2024
Merged

Commits on Jul 4, 2024

  1. Build: start moving config to Kotlin DSL and Convention Plugins

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    26f7a0a View commit details
    Browse the repository at this point in the history
  2. Update Android example

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    8bef92d View commit details
    Browse the repository at this point in the history
  3. Update to Gradle 8.6

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    f8fdde0 View commit details
    Browse the repository at this point in the history
  4. Move examples into proper Java package

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    c4c120d View commit details
    Browse the repository at this point in the history
  5. Fix system properties setup for integration tests

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    f5f3fc4 View commit details
    Browse the repository at this point in the history
  6. Load example resources from example Java package

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    fa110a1 View commit details
    Browse the repository at this point in the history
  7. Remove wrong entry

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    0ebf67c View commit details
    Browse the repository at this point in the history
  8. Move 'sonarqube' config to 'sdk' only

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    d541a9d View commit details
    Browse the repository at this point in the history
  9. Use Java Modules / cleanup dependencies

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    b4fc450 View commit details
    Browse the repository at this point in the history
  10. Turn integration tests into Module

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    f984b01 View commit details
    Browse the repository at this point in the history
  11. Set file encoding 'gradle.properties'

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    4356c88 View commit details
    Browse the repository at this point in the history
  12. Add dependency scope check

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    b7c2f27 View commit details
    Browse the repository at this point in the history
  13. Cleanup module patching

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    f337830 View commit details
    Browse the repository at this point in the history
  14. Create reproducible archives

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    fbf7e0f View commit details
    Browse the repository at this point in the history
  15. Support to run build in both protobuf 'modes'

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    2657d44 View commit details
    Browse the repository at this point in the history
  16. 'jackson' upgrade breaks 'json-snapshot' library

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    0fd43ca View commit details
    Browse the repository at this point in the history
  17. Add back 'grpc.netty.shaded' runtime dependency

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    cac87dc View commit details
    Browse the repository at this point in the history
  18. Fix 'protobuf-javalite' vs 'protobuf-java'

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    07b50e6 View commit details
    Browse the repository at this point in the history
  19. Enable configuration cache

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    6db5ecc View commit details
    Browse the repository at this point in the history
  20. Add back nexus publish

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    b3b2204 View commit details
    Browse the repository at this point in the history
  21. Fix patching of 'grpc.netty.shaded'

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    84e4f98 View commit details
    Browse the repository at this point in the history
  22. Fix 'com.google.protobuf' patching

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    786c671 View commit details
    Browse the repository at this point in the history
  23. Load resources from inside the Module when running on Module Path

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    e0e70f2 View commit details
    Browse the repository at this point in the history
  24. Built 'sdk-full' via separate subproject

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    2f2b43e View commit details
    Browse the repository at this point in the history
  25. Remove old non-Gradle build files

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    9d06307 View commit details
    Browse the repository at this point in the history
  26. Move 'sdk' vs 'sdk-full' logic into convention plugins

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    770b494 View commit details
    Browse the repository at this point in the history
  27. Run examples on Module Path

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    f3b2dc3 View commit details
    Browse the repository at this point in the history
  28. Execute example code from Jar instead of using classes/resources folders

    If in one Java Module, classes and resources need to be physically
    combined.
    
    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    a2dee2c View commit details
    Browse the repository at this point in the history
  29. Fix 'jackson-databind' patching for completeness

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    ae024f4 View commit details
    Browse the repository at this point in the history
  30. Clean up "build" lifecycle group

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    71a7bb8 View commit details
    Browse the repository at this point in the history
  31. Move test into package

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    66113a0 View commit details
    Browse the repository at this point in the history
  32. Configure 'javadoc' task

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    0c0d37e View commit details
    Browse the repository at this point in the history
  33. chore: update to Gradle 8.7

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    c0c8e60 View commit details
    Browse the repository at this point in the history
  34. chore: move classes into packages

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    ae293e6 View commit details
    Browse the repository at this point in the history
  35. chore: update plugin versions

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    1d2e175 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    64b8ffc View commit details
    Browse the repository at this point in the history
  37. chore: rename - '...integration.test' to '...test.integration'

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    43f036a View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    3958240 View commit details
    Browse the repository at this point in the history
  39. fix: make Android example find versions of dependencies

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    1945620 View commit details
    Browse the repository at this point in the history
  40. chore: use repository content filtering

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    f3bb6a8 View commit details
    Browse the repository at this point in the history
  41. chore: improve comment

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    82c7d9c View commit details
    Browse the repository at this point in the history
  42. chore: restore Taskfile.yml

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    454f62e View commit details
    Browse the repository at this point in the history
  43. fix: open 'com.hedera.hashgraph.sdk' package

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    062b360 View commit details
    Browse the repository at this point in the history
  44. fix: no new transitive (api) dependencies

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    b20fd6a View commit details
    Browse the repository at this point in the history
  45. chore: add 'wiremock'

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    1f3543b View commit details
    Browse the repository at this point in the history
  46. chore: remove 'publish:' from Taskfile

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    2d1c8ec View commit details
    Browse the repository at this point in the history
  47. chore: do not upgrade protobuf versions in this PR

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    85762de View commit details
    Browse the repository at this point in the history
  48. chore: update to 'gradle/actions/setup-gradle' action

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    ca60bc8 View commit details
    Browse the repository at this point in the history
  49. chore: give clearer name to stage that also runs integration tests

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    c37adf0 View commit details
    Browse the repository at this point in the history
  50. chore: adjust repository order

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    79473e1 View commit details
    Browse the repository at this point in the history
  51. chore: update integration test documentation

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    3bc336c View commit details
    Browse the repository at this point in the history
  52. tmp: deactivate test

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    4351fca View commit details
    Browse the repository at this point in the history
  53. chore: do not update Guava version compared to 'main'

    On 'main', this version comes in transitively
    
    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    e7693c8 View commit details
    Browse the repository at this point in the history
  54. chore: use latest 'jvm-dependency-conflict-resolution' plugin

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    7f092bb View commit details
    Browse the repository at this point in the history
  55. chore: use latest file permission Gradle API

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    9383c16 View commit details
    Browse the repository at this point in the history
  56. chore: update to Gradle 8.8

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    00eae32 View commit details
    Browse the repository at this point in the history
  57. build: do not fail tests fast

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    c33bc37 View commit details
    Browse the repository at this point in the history
  58. tmp: re-enable test

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    f8cc47d View commit details
    Browse the repository at this point in the history
  59. tmp: deactivate tests

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    3316556 View commit details
    Browse the repository at this point in the history
  60. chore: revert rename to not break PR setup

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    2fc343a View commit details
    Browse the repository at this point in the history
  61. fix: io.grpc:grpc-api vs io.helidon.grpc:io.grpc.

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    38480de View commit details
    Browse the repository at this point in the history
  62. build: move versions into 'sdk-dependency-versions'

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    e189724 View commit details
    Browse the repository at this point in the history
  63. tmp (revert): re-activate test

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    11df3bf View commit details
    Browse the repository at this point in the history
  64. chore: move example into package

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    03c3d5b View commit details
    Browse the repository at this point in the history
  65. fix: do not replace 'io.grpc:*' modules / instead update to 1.64.0

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    d1e37eb View commit details
    Browse the repository at this point in the history
  66. chore; remove wiremock

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    85b0b4b View commit details
    Browse the repository at this point in the history
  67. fix: tweak module patching

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    7d78eac View commit details
    Browse the repository at this point in the history
  68. chore: examples task setup and docs

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    9eba750 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    04f08e2 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    5371853 View commit details
    Browse the repository at this point in the history
  71. chore: align JVM args in 'gradle.properties'

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    631ccf5 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    8910ce9 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    19f2805 View commit details
    Browse the repository at this point in the history
  74. chore: update gradle/actions/setup-gradle

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    d294618 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    54949b0 View commit details
    Browse the repository at this point in the history
  76. chore: fix name of module in because comment

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    ca54cf5 View commit details
    Browse the repository at this point in the history
  77. feat: publish versions for gRPC implementations

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    0eedb93 View commit details
    Browse the repository at this point in the history
  78. chore: adjust gRPC versions in docs and examples

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    90f92a7 View commit details
    Browse the repository at this point in the history
  79. chore: let Dependabot check all build.gradle.kts files

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    c0969c0 View commit details
    Browse the repository at this point in the history
  80. Change setup of 'examples' such that it can be used as independent build

    This allows using it to run the examples against published versions
    of the SDK.
    
    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    7754d26 View commit details
    Browse the repository at this point in the history
  81. fix: quick fix for Guava patching not always working

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    fc5566c View commit details
    Browse the repository at this point in the history
  82. .env for examples should now be located in examples/.env

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    85bf84d View commit details
    Browse the repository at this point in the history
  83. fix: add 'sdk-full' capability for 'sdk-full'

    As soon as you declare capabilities, the default capability is no
    longer added automatically. This can lead to really weird variant
    matching issues.
    
    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    e0c1fa8 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. fix: remove 'requires com.google.protobuf' from examples

    Signed-off-by: Jendrik Johannes <[email protected]>
    jjohannes committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    81202f8 View commit details
    Browse the repository at this point in the history
  2. chore: revert sdk dependency version to 2.34.0

    Signed-off-by: Nikita Lebedev <[email protected]>
    thenswan committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    c9defca View commit details
    Browse the repository at this point in the history
  3. fix: Taskfile.yml test:integration task

    Signed-off-by: Nikita Lebedev <[email protected]>
    thenswan committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    7c91ea6 View commit details
    Browse the repository at this point in the history