-
Notifications
You must be signed in to change notification settings - Fork 17
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
Cbayer jdk17 spring 3.0.2 #588
Changes from 13 commits
2e9fcf7
c5c794c
5923068
52f2a04
7238dbd
9b30f78
dd73e8e
7a98d81
8d2a9a4
560b68f
8c5d829
3d765a2
a09e080
3508dd8
5daf351
7f4aa3f
684fcf3
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ buildscript { | |
mavenCentral() | ||
} | ||
dependencies { | ||
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.7.5") | ||
classpath("org.springframework.boot:spring-boot-gradle-plugin:3.0.2") | ||
classpath 'org.hibernate.build.gradle:gradle-maven-publish-auth:2.0.1' | ||
classpath 'net.researchgate:gradle-release:2.8.1' | ||
classpath 'com.netflix.nebula:gradle-ospackage-plugin:8.6.3' | ||
|
@@ -147,7 +147,7 @@ task rpm(type: Rpm) { | |
|
||
distributions { | ||
custom { | ||
baseName = project.name | ||
// baseName = project.name | ||
contents { | ||
from { 'build/libs' } | ||
from { 'scripts/carbonj.sh' } | ||
|
@@ -190,44 +190,51 @@ release { | |
|
||
description = 'CarbonJ Service Implementation' | ||
dependencies { | ||
compile project(':cc-metrics-reporter') | ||
implementation project(':cc-metrics-reporter') | ||
// compile group: 'com.sfcc.um', name: 'metrics_reporter', version:'0.0.2' | ||
compile group: 'org.apache.logging.log4j', name: 'log4j-1.2-api', version: '2.19.0' | ||
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.19.0' | ||
compile group: 'org.apache.logging.log4j', name: 'log4j-to-slf4j', version: '2.19.0' | ||
compile group: 'org.slf4j', name: 'slf4j-api' | ||
compile group: 'org.rocksdb', name: 'rocksdbjni', version: '6.28.2' | ||
compile group: 'com.google.code.gson', name: 'gson', version: '2.10' | ||
compile group: 'com.google.code.externalsortinginjava', name: 'externalsortinginjava', version: '0.6.1' | ||
compile group: 'com.google.guava', name: 'guava', version: '31.1-jre' | ||
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' | ||
compile group: 'commons-io', name: 'commons-io', version: '2.11.0' | ||
compile group: 'joda-time', name: 'joda-time', version: '2.12.1' | ||
compile group: 'io.netty', name: 'netty-all', version: '4.1.85.Final' | ||
compile group: 'net.razorvine', name: 'pickle', version: '1.3' | ||
compile group: 'org.python', name: 'jython-standalone', version: '2.7.3' | ||
compile group: 'com.amazonaws', name: 'amazon-kinesis-client', version: '1.14.8' | ||
compile group: 'io.dropwizard.metrics', name: 'metrics-core', version: '4.2.13' | ||
compile group: 'io.dropwizard.metrics', name: 'metrics-jvm', version: '4.2.13' | ||
compile group: 'io.dropwizard.metrics', name: 'metrics-graphite', version: '4.2.13' | ||
|
||
testCompile group: 'junit', name: 'junit', version: '4.13.2' | ||
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3' | ||
|
||
compile (group:"org.springframework.boot", name:"spring-boot-starter-logging", version:"2.7.5") { | ||
implementation group: 'org.apache.logging.log4j', name: 'log4j-1.2-api', version: '2.19.0' | ||
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.19.0' | ||
implementation group: 'org.apache.logging.log4j', name: 'log4j-to-slf4j', version: '2.19.0' | ||
implementation group: 'org.slf4j', name: 'slf4j-api' | ||
implementation group: 'javax.annotation', name: 'javax.annotation-api', version: '1.3.2' | ||
implementation group: 'org.rocksdb', name: 'rocksdbjni', version: '7.9.2' | ||
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10' | ||
implementation group: 'com.google.code.externalsortinginjava', name: 'externalsortinginjava', version: '0.6.1' | ||
implementation group: 'com.google.guava', name: 'guava', version: '31.1-jre' | ||
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' | ||
implementation group: 'commons-io', name: 'commons-io', version: '2.11.0' | ||
implementation group: 'joda-time', name: 'joda-time', version: '2.12.1' | ||
implementation group: 'io.netty', name: 'netty-all', version: '4.1.85.Final' | ||
implementation group: 'net.razorvine', name: 'pickle', version: '1.3' | ||
implementation group: 'org.python', name: 'jython-standalone', version: '2.7.3' | ||
implementation group: 'com.amazonaws', name: 'amazon-kinesis-client', version: '1.14.8' | ||
implementation group: 'io.dropwizard.metrics', name: 'metrics-core', version: '4.2.13' | ||
implementation group: 'io.dropwizard.metrics', name: 'metrics-jvm', version: '4.2.13' | ||
implementation group: 'io.dropwizard.metrics', name: 'metrics-graphite', version: '4.2.13' | ||
implementation 'jakarta.servlet:jakarta.servlet-api:5.0.0' | ||
implementation 'org.eclipse.jetty:jetty-server' | ||
// implementation 'org.mockito:mockito-core:4.11.0' | ||
|
||
testImplementation group: 'junit', name: 'junit', version: '4.13.2' | ||
testImplementation group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3' | ||
|
||
implementation (group:"org.springframework.boot", name:"spring-boot-starter-logging", version:"3.0.2") { | ||
exclude group: 'org.apache.logging.log4j', module: 'log4j-to-slf4j' | ||
exclude group: 'org.apache.logging.log4j', module: 'log4j-api' | ||
} | ||
compile group:"org.springframework.boot", name:"spring-boot-starter-web", version:"2.7.5" | ||
compile group:"org.springframework.boot", name:"spring-boot-starter-jetty", version:"2.7.5" | ||
implementation group:"org.springframework.boot", name:"spring-boot-starter-web", version:"3.0.2" | ||
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. Shouldn't need a version on dependencies when using the spring boot plugin. 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. unfortunately it is needed here.. I think it works for project dependencies but not for buildscript dependencies. |
||
implementation group:"org.springframework.boot", name:"spring-boot-starter-jetty", version:"3.0.2" | ||
|
||
compile group:"org.springframework.boot", name:"spring-boot-starter-actuator", version:"2.7.5" | ||
testCompile (group:"org.springframework.boot", name:"spring-boot-starter-test", version:"2.7.5") | ||
implementation group:"org.springframework.boot", name:"spring-boot-starter-actuator", version:"3.0.2" | ||
testImplementation (group:"org.springframework.boot", name:"spring-boot-starter-test", version:"3.0.2") | ||
|
||
} | ||
|
||
test { | ||
maxHeapSize = "2g" | ||
jvmArgs = [ | ||
'--add-opens', 'java.base/java.util=ALL-UNNAMED', | ||
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. If that's removed, one of the test cases around CarbonJEvent logs will fail. |
||
] | ||
environment "AWS_REGION", "us-east-1" | ||
} | ||
|
||
|
@@ -266,4 +273,4 @@ tasks.withType(Test) { | |
} | ||
} | ||
} | ||
} | ||
} |
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.
Why not add this to the top-level gradle.properties instead?