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

[GUI][ETL] Avoid packaging unused dependencies #1153

Merged
merged 2 commits into from
Nov 21, 2022

Conversation

chia7712
Copy link
Contributor

  1. GUI 模組不應該包含 jcommander,因此將所有引用到的程式碼都隔離開
  2. ETL 模組不需要包含 spark 相關的程式碼,因為該模組會透過 spark-submit 來執行

@@ -34,10 +34,11 @@ def versions = [
]

dependencies {
implementation "org.scala-lang:scala-library:${versions["scala"]}"
// Astraea etl is run by spark framework, so we don't need to package spark-related dependencies
compileOnly "org.scala-lang:scala-library:${versions["scala"]}"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wycccccc FYI

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

學到了

@chia7712 chia7712 mentioned this pull request Nov 21, 2022
@chia7712 chia7712 merged commit d22aaac into opensource4you:main Nov 21, 2022
@chia7712 chia7712 deleted the cleanup_deps branch December 28, 2022 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants