-
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.
Migrated from jaxb-api:
2.3.1
to jakarta.xml.bind-api: 4.0.2
+ Migrated to th2 gradle plugin: `0.0.6`
- Loading branch information
1 parent
2964744
commit 9948fcf
Showing
9 changed files
with
76 additions
and
46 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
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,47 +1,66 @@ | ||
buildscript { | ||
repositories { | ||
maven { | ||
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/" | ||
} | ||
plugins { | ||
id "org.jetbrains.kotlin.jvm" version "1.8.22" | ||
id("java-library") | ||
id("maven-publish") | ||
|
||
id "com.exactpro.th2.gradle.base" version "0.0.6" | ||
id "com.exactpro.th2.gradle.publish" version "0.0.6" | ||
|
||
id "me.champeau.jmh" version "0.7.2" | ||
} | ||
|
||
apply plugin: 'kotlin-kapt' | ||
|
||
group = 'com.exactpro.th2' | ||
version = release_version | ||
|
||
repositories { | ||
mavenCentral() | ||
maven { | ||
name 'Sonatype_snapshots' | ||
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' | ||
} | ||
dependencies { | ||
classpath "com.exactpro.th2:th2-gradle-plugin:0.0.1-dev-5915772757-13a28ae-SNAPSHOT" | ||
maven { | ||
name 'Sonatype_releases' | ||
url 'https://s01.oss.sonatype.org/content/repositories/releases/' | ||
} | ||
} | ||
mavenLocal() | ||
|
||
plugins { | ||
// for run ./gradlew jmh | ||
id 'me.champeau.jmh' version '0.6.8' | ||
configurations.configureEach { | ||
resolutionStrategy.cacheChangingModulesFor 0, 'seconds' | ||
resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds' | ||
} | ||
} | ||
|
||
apply plugin: "com.exactpro.th2.common-conventions" | ||
apply plugin: "com.exactpro.th2.docker-conventions" | ||
dependencies { | ||
implementation "com.exactpro.th2:common:5.10.1-dev" | ||
implementation "com.exactpro.th2:common-utils:2.2.3-dev" | ||
implementation "com.exactpro.th2:codec:5.5.0-th2-gradle-plugin-+" | ||
implementation "jakarta.xml.bind:jakarta.xml.bind-api:4.0.2" | ||
|
||
apply plugin: 'kotlin-kapt' | ||
|
||
dependencies { | ||
api platform('com.exactpro.th2:bom:4.5.0') | ||
implementation 'org.apache.avro:avro:1.11.3' | ||
implementation 'commons-io:commons-io' | ||
|
||
implementation "io.github.microutils:kotlin-logging:3.0.5" | ||
|
||
implementation "com.exactpro.th2:common:5.7.2-dev" | ||
implementation "com.exactpro.th2:common-utils:2.2.2-dev" | ||
implementation "com.exactpro.th2:codec:5.4.1-dev" | ||
implementation 'javax.xml.bind:jaxb-api:2.3.1' | ||
compileOnly 'com.google.auto.service:auto-service:1.1.1' | ||
kapt 'com.google.auto.service:auto-service:1.1.1' | ||
|
||
implementation 'org.apache.avro:avro:1.11.1' | ||
implementation 'commons-io:commons-io:2.12.0' | ||
jmh 'org.openjdk.jmh:jmh-core:1.37' | ||
jmh 'org.openjdk.jmh:jmh-generator-annprocess:1.37' | ||
jmhAnnotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:1.37' | ||
|
||
compileOnly 'com.google.auto.service:auto-service:1.0.1' | ||
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit5:1.6.21' | ||
kapt 'com.google.auto.service:auto-service:1.0.1' | ||
testImplementation "org.jetbrains.kotlin:kotlin-test-junit" | ||
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2' | ||
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.3.1' | ||
testImplementation 'io.strikt:strikt-core:0.34.1' | ||
} | ||
|
||
jmh 'org.openjdk.jmh:jmh-core:1.36' | ||
jmh 'org.openjdk.jmh:jmh-generator-annprocess:1.36' | ||
jmhAnnotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:1.36' | ||
test { | ||
useJUnitPlatform() | ||
} | ||
|
||
jmh { | ||
//profilers = ['stack'] // Use profilers to collect additional data. Supported profilers: [cl, comp, gc, stack, perf, perfnorm, perfasm, xperf, xperfasm, hs_cl, hs_comp, hs_gc, hs_rt, hs_thr, async] | ||
} | ||
dependencyLocking { | ||
lockAllConfigurations() | ||
} |
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,2 +1,2 @@ | ||
release_version=2.4.0 | ||
release_version=3.0.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
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
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