-
Notifications
You must be signed in to change notification settings - Fork 201
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
Fixes #1204: Release bindings and codegens to Maven Central. #1205
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
af6e988
Fixes #1204: Release bindings and codegens to Maven Central.
nicholassmith-da 4a87b95
Update docs/source/app-dev/bindings-java/index.rst
nicholassmith-da cb46cc3
Update docs/source/app-dev/bindings-java/index.rst
nicholassmith-da f879c72
Update docs/source/support/release-notes.rst
nicholassmith-da b8e9267
Update docs/source/support/release-notes.rst
nicholassmith-da 2854c7e
Re-insert un-intentionally deleted line
nicholassmith-da 781d99d
Apply suggestions from Moritz
nicholassmith-da 842aeff
Move Maven Username and Password definitiions to Azure pipeline config
nicholassmith-da f37d893
Fix documentation
nicholassmith-da ea2ea8b
Apply suggestions from not-fran and optimize gathering of artifacts.
nicholassmith-da 37a1dbf
Fix release notes after rebase
nicholassmith-da de193c1
Remove test code, fix documentation
nicholassmith-da 4e921d1
Fix release notes after rebase
nicholassmith-da File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
# Meant to be linked to from `dev-env/bin`, symlink should be named after the | ||
# tool. Execute a Nix tool from a derivation that creates a `result` directory. | ||
|
||
DADE_CURRENT_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
source "$DADE_CURRENT_SCRIPT_DIR/../lib/dade-common" | ||
base=$(basename $0) | ||
execTool $base out $base "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -4,12 +4,15 @@ | |||||
load( | ||||||
"//bazel_tools:scala.bzl", | ||||||
"da_scala_binary", | ||||||
"scala_source_jar", | ||||||
"scaladoc_jar", | ||||||
) | ||||||
load( | ||||||
"@com_github_johnynek_bazel_jar_jar//:jar_jar.bzl", | ||||||
"jar_jar", | ||||||
) | ||||||
load("//bazel_tools:pom_file.bzl", "pom_file") | ||||||
load("@os_info//:os_info.bzl", "is_windows") | ||||||
|
||||||
da_scala_binary( | ||||||
name = "codegen-main", | ||||||
|
@@ -36,3 +39,16 @@ pom_file( | |||||
target = ":shaded_binary", | ||||||
visibility = ["//visibility:public"], | ||||||
) | ||||||
|
||||||
# Create empty Scaladoc JAR for uploading to Maven Central | ||||||
scaladoc_jar( | ||||||
name = "shaded_binary_scaladoc", | ||||||
srcs = [], | ||||||
deps = [], | ||||||
) if is_windows == False else None | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
# Create empty Sources JAR for uploading to Maven Central | ||||||
scala_source_jar( | ||||||
name = "shaded_binary_src", | ||||||
srcs = [], | ||||||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -6,6 +6,8 @@ load( | |||||
"da_scala_binary", | ||||||
"da_scala_library", | ||||||
"da_scala_test", | ||||||
"scala_source_jar", | ||||||
"scaladoc_jar", | ||||||
) | ||||||
load( | ||||||
"//rules_daml:daml.bzl", | ||||||
|
@@ -21,6 +23,7 @@ load( | |||||
"jar_jar", | ||||||
) | ||||||
load("//bazel_tools:pom_file.bzl", "pom_file") | ||||||
load("@os_info//:os_info.bzl", "is_windows") | ||||||
|
||||||
da_scala_binary( | ||||||
name = "codegen", | ||||||
|
@@ -105,6 +108,19 @@ pom_file( | |||||
visibility = ["//visibility:public"], | ||||||
) | ||||||
|
||||||
# Create empty Scaladoc JAR for uploading to Maven Central | ||||||
scaladoc_jar( | ||||||
name = "shaded_binary_scaladoc", | ||||||
srcs = [], | ||||||
deps = [], | ||||||
) if is_windows == False else None | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
# Create empty Sources JAR for uploading to Maven Central | ||||||
scala_source_jar( | ||||||
name = "shaded_binary_src", | ||||||
srcs = [], | ||||||
) | ||||||
|
||||||
daml_lf_target_versions = [ | ||||||
"1.0", | ||||||
"1.1", | ||||||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we make
scaladoc_jar
andscala_source_jar
implicit inda_scala_binary
? Having to add that manually everywhere seems rather cumbersome and easy to forget.