-
Notifications
You must be signed in to change notification settings - Fork 1
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
TH2-4267 split common #232
base: master
Are you sure you want to change the base?
Changes from 4 commits
4293919
c64c481
fb7afa6
7b8c635
ed81c24
07dc700
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ ext { | |
|
||
repositories { | ||
mavenCentral() | ||
mavenLocal() | ||
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. Should be the last repo in the list 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. I don't agree. I think it will be first or won't be because if you build project via |
||
maven { | ||
name 'Sonatype_snapshots' | ||
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' | ||
|
@@ -46,7 +47,6 @@ repositories { | |
name 'Sonatype_releases' | ||
url 'https://s01.oss.sonatype.org/content/repositories/releases/' | ||
} | ||
mavenLocal() | ||
|
||
configurations.all { | ||
resolutionStrategy.cacheChangingModulesFor 0, 'seconds' | ||
|
@@ -169,16 +169,22 @@ tasks.register('integrationTest', Test) { | |
|
||
dependencies { | ||
api platform("com.exactpro.th2:bom:4.0.1") | ||
api ("com.exactpro.th2:cradle-core:${cradleVersion}") { | ||
exclude group: 'org.slf4j', module: 'slf4j-log4j12' // because of the vulnerability | ||
} | ||
api 'com.exactpro.th2:grpc-common:3.11.1' | ||
|
||
implementation 'com.google.protobuf:protobuf-java-util' | ||
implementation 'com.exactpro.th2:grpc-service-generator:3.2.2' | ||
implementation ("com.exactpro.th2:cradle-cassandra:${cradleVersion}") { | ||
exclude group: 'org.slf4j', module: 'slf4j-log4j12' // because of the vulnerability | ||
} | ||
|
||
// todo remove | ||
// implementation 'com.exactpro.th2:full-cradle-manager:2.22.0-local' | ||
implementation 'com.exactpro.th2:basic-cradle-manager:2.22.0-local' | ||
implementation 'com.exactpro.th2:cradle-manager-api:2.22.0-local' | ||
implementation "com.exactpro.th2:common-api-j:0.0.1-th2-1436-init-3574652642-d3de09f-SNAPSHOT" | ||
|
||
annotationProcessor 'com.google.auto.service:auto-service:1.0.1' | ||
compileOnly 'com.google.auto.service:auto-service:1.0.1' | ||
|
||
implementation 'com.beust:jcommander:1.82' | ||
implementation "commons-cli:commons-cli" | ||
Xanclry marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
//FIXME: Add these dependencies as api to grpc-... artifacts | ||
implementation "io.grpc:grpc-protobuf" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright 2020-2022 Exactpro (Exactpro Systems Limited) | ||
* 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. | ||
*/ | ||
|
||
package com.exactpro.th2.common.module; | ||
|
||
import com.exactpro.th2.common.ConfigurationProviderFactory; | ||
import com.exactpro.th2.common.module.provider.FileConfigurationProviderFactory; | ||
import com.google.auto.service.AutoService; | ||
import kotlin.Deprecated; | ||
import kotlin.DeprecationLevel; | ||
|
||
@AutoService(ConfigurationProviderFactory.class) | ||
@Deprecated( | ||
message = "Don't use this class, it is only meant to be captured by ServiceLoader", | ||
level = DeprecationLevel.HIDDEN) | ||
public final class FileConfigurationProviderFactoryShim extends FileConfigurationProviderFactory { | ||
Xanclry marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} |
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.
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.
Also we should describe module API and how it works in a real project