Skip to content

Conversation

@yanrongzhen
Copy link
Contributor

Fixes #4496 .

Modifications

Declare correct gradle task dependencies.

Comment on lines 40 to 45
}

spotlessJava.enabled false

protobuf {
protoc { artifact = "com.google.protobuf:protoc:${protocVersion}" }
Copy link
Member

Choose a reason for hiding this comment

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

You said "now this problem is solved in a general way, and there is no need to remove spotless tasks", then why this config is added here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I missed it, fixed.

* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ No newline at end of file
Copy link
Member

@pandaapo pandaapo Oct 19, 2023

Choose a reason for hiding this comment

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

Is this file necessary?

Copy link
Contributor Author

@yanrongzhen yanrongzhen Oct 19, 2023

Choose a reason for hiding this comment

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

I think it can be kept for the future to customize the build script.

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #4497 (8b4a10e) into master (f629730) will decrease coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 8b4a10e differs from pull request most recent head 68b045f. Consider uploading reports for the commit 68b045f to get more accurate results

@@             Coverage Diff              @@
##             master    #4497      +/-   ##
============================================
- Coverage     15.46%   15.45%   -0.01%     
  Complexity     1452     1452              
============================================
  Files           691      691              
  Lines         28101    28095       -6     
  Branches       2624     2610      -14     
============================================
- Hits           4345     4343       -2     
+ Misses        23309    23308       -1     
+ Partials        447      444       -3     

see 19 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pandaapo pandaapo merged commit 1b3e496 into apache:master Oct 20, 2023
xuhongjia pushed a commit to Deckers-Ohana/eventmesh that referenced this pull request Mar 13, 2025
* Fix gradle spotless task dependency bug when execute 'gradle dist'.

* revert settings.gradle

* revert protocol-grpc build.gradle

* Remove unused imports.
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.

[Bug] Gradle dist error

4 participants