-
Notifications
You must be signed in to change notification settings - Fork 113
Create a new fdb-test-utils sub-project for some test utilities #3631
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
Changes from all commits
1bee984
475fc95
0298404
aa01c05
6e0166e
ad5b45e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* fdb-test-utils.gradle | ||
* | ||
* This source file is part of the FoundationDB open source project | ||
* | ||
* Copyright 2015-2025 Apple Inc. and the FoundationDB project authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* 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. | ||
*/ | ||
|
||
apply from: rootProject.file('gradle/publishing.gradle') | ||
|
||
dependencies { | ||
api(libs.bundles.test.impl) | ||
api(libs.slf4j.api) | ||
compileOnly(libs.bundles.test.compileOnly) | ||
compileOnly(libs.jsr305) | ||
annotationProcessor(libs.autoService) | ||
implementation(libs.fdbJava) | ||
|
||
testImplementation(libs.bundles.test.impl) | ||
testRuntimeOnly(libs.bundles.test.runtime) | ||
testCompileOnly(libs.bundles.test.compileOnly) | ||
testAnnotationProcessor(libs.autoService) | ||
} | ||
|
||
publishing { | ||
publications { | ||
library(MavenPublication) { | ||
pom { | ||
description = 'Test utilities for FoundationDB Record Layer projects.' | ||
} | ||
} | ||
} | ||
} |
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. TeamScale is complaining that we should not use
I think we should tolerate this usage and leave it as-is, but wanted am commenting here as a place for discussion. |
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.
TeamScale is complaining that we should not use
varargs
forcartesianProduct
.I think this is a valid usage of
varargs
, as per the explanation of the issue:I think we should tolerate this usage and leave it as-is, but wanted am commenting here as a place for discussion.
I will note that
cartesianProduct
does have a private overload that takes and returns an incompatible type from the public method.