-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Th2 5143] problem when codec publishes event for book
A
with attac…
…hed messages for book `B` (#7) * [TH2-4987] Added com.gorylenko.gradle-git-properties plugin * [TH2-4915] th2 transport protocol support.
- Loading branch information
1 parent
ae425ba
commit 45379b1
Showing
11 changed files
with
159 additions
and
119 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
build/ | ||
.gradle/ | ||
.idea/ | ||
.idea/ | ||
bin/ |
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 |
---|---|---|
@@ -1,101 +1,28 @@ | ||
plugins { | ||
id 'com.palantir.docker' version '0.25.0' | ||
id 'org.jetbrains.kotlin.jvm' version "${kotlin_version}" | ||
id 'application' | ||
id "org.owasp.dependencycheck" version "7.2.0" | ||
id 'org.jetbrains.kotlin.kapt' version "${kotlin_version}" | ||
} | ||
|
||
dependencyCheck { | ||
format='HTML' | ||
failBuildOnCVSS=5 | ||
} | ||
|
||
group = 'com.exactpro.th2' | ||
version = release_version | ||
|
||
sourceCompatibility = 11 | ||
targetCompatibility = 11 | ||
|
||
repositories { | ||
mavenCentral() | ||
|
||
maven { | ||
name 'Sonatype_snapshots' | ||
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' | ||
} | ||
|
||
maven { | ||
name 'Sonatype_releases' | ||
url 'https://s01.oss.sonatype.org/content/repositories/releases/' | ||
buildscript { | ||
repositories { | ||
gradlePluginPortal() | ||
maven { | ||
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/" | ||
} | ||
} | ||
|
||
mavenLocal() | ||
|
||
configurations.configureEach { | ||
resolutionStrategy.cacheChangingModulesFor 0, 'seconds' | ||
resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds' | ||
dependencies { | ||
classpath "com.exactpro.th2:th2-gradle-plugin:0.0.1-dev-5915968839-41381e5-SNAPSHOT" | ||
} | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes( | ||
'Created-By': "${System.getProperty('java.version')} (${System.getProperty('java.vendor')})", | ||
'Specification-Title': '', | ||
'Specification-Vendor': 'Exactpro Systems LLC', | ||
'Implementation-Title': project.archivesBaseName, | ||
'Implementation-Vendor': 'Exactpro Systems LLC', | ||
'Implementation-Vendor-Id': 'com.exactpro', | ||
'Implementation-Version': project.version | ||
) | ||
} | ||
} | ||
apply plugin: "com.exactpro.th2.common-conventions" | ||
apply plugin: "com.exactpro.th2.docker-conventions" | ||
|
||
apply plugin: 'kotlin-kapt' | ||
|
||
dependencies { | ||
api platform("com.exactpro.th2:bom:4.2.0") | ||
api platform("com.exactpro.th2:bom:4.5.0") | ||
|
||
implementation "com.exactpro.th2:common:5.3.0-json-raw-body-5242142633-7ac1672-SNAPSHOT" //FIXME: migrate to release | ||
implementation "com.exactpro.th2:codec:5.3.0-new-proto-5241354905-69d03b5-SNAPSHOT" //FIXME: migrate to release | ||
implementation "com.exactpro.th2:common:5.7.2-dev" | ||
implementation "com.exactpro.th2:codec:5.4.1-dev" | ||
|
||
implementation "com.fasterxml.jackson.core:jackson-databind" | ||
|
||
testImplementation "org.jetbrains.kotlin:kotlin-test-junit5:$kotlin_version" | ||
|
||
compileOnly "com.google.auto.service:auto-service:1.1.0" | ||
kapt "com.google.auto.service:auto-service:1.1.0" | ||
} | ||
|
||
application { | ||
mainClassName 'com.exactpro.th2.codec.MainKt' | ||
} | ||
|
||
applicationName = 'service' | ||
|
||
distTar { | ||
archiveName "${applicationName}.tar" | ||
} | ||
|
||
dockerPrepare { | ||
dependsOn distTar | ||
} | ||
|
||
docker { | ||
copySpec.from(tarTree("$buildDir/distributions/${applicationName}.tar")) | ||
} | ||
|
||
compileKotlin { | ||
kotlinOptions { | ||
jvmTarget = "11" | ||
} | ||
} | ||
|
||
compileTestKotlin { | ||
kotlinOptions { | ||
jvmTarget = "11" | ||
} | ||
} | ||
|
||
test { | ||
useJUnitPlatform() | ||
} |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
kotlin.code.style=official | ||
kotlin_version=1.6.21 | ||
release_version=0.3.0 | ||
release_version=0.3.0 | ||
app_main_class=com.exactpro.th2.codec.MainKt |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
Oops, something went wrong.