Skip to content

Restructure gradle dependencies #827

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

Merged
merged 1 commit into from
Sep 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions utbot-analytics/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ evaluationDependsOn(':utbot-framework')
compileTestJava.dependsOn tasks.getByPath(':utbot-framework:testClasses')

dependencies {
implementation(project(":utbot-api"))
implementation(project(":utbot-core"))
implementation(project(":utbot-summary"))
implementation(project(":utbot-framework-api"))
implementation(project(":utbot-fuzzers"))
implementation(project(":utbot-instrumentation"))
implementation(project(":utbot-framework"))
testImplementation project(':utbot-sample')
testImplementation group: 'junit', name: 'junit', version: junit4_version
Expand Down
2 changes: 0 additions & 2 deletions utbot-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ configurations {
}

dependencies {
implementation project(':utbot-framework-api')
implementation project(':utbot-framework')
implementation project(':utbot-summary')

implementation group: 'org.mockito', name: 'mockito-core', version: mockito_version
// Without this dependency testng tests do not run.
Expand Down
2 changes: 0 additions & 2 deletions utbot-framework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ configurations {

dependencies {

api project(':utbot-api')
api project(':utbot-fuzzers')
api project(':utbot-core')
api project(':utbot-instrumentation')
api project(':utbot-summary')
api project(':utbot-framework-api')
Expand Down
2 changes: 1 addition & 1 deletion utbot-fuzzers/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
apply from: "${parent.projectDir}/gradle/include/jvm-project.gradle"

dependencies {
api project(':utbot-framework-api')
implementation project(':utbot-framework-api')
implementation "com.github.UnitTestBot:soot:${soot_commit_hash}"
implementation group: 'io.github.microutils', name: 'kotlin-logging', version: kotlin_logging_version
implementation group: 'com.github.curious-odd-man', name: 'rgxgen', version: rgxgen_version
Expand Down
2 changes: 1 addition & 1 deletion utbot-instrumentation/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply from: "${parent.projectDir}/gradle/include/jvm-project.gradle"

dependencies {
api project(':utbot-framework-api')
implementation project(':utbot-framework-api')
implementation project(':utbot-rd')

implementation group: 'org.ow2.asm', name: 'asm', version: asm_version
Expand Down
1 change: 0 additions & 1 deletion utbot-intellij/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ dependencies {
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-kotlin', version: jackson_version

implementation(project(":utbot-framework")) { exclude group: 'org.slf4j', module: 'slf4j-api' }
implementation(project(":utbot-fuzzers"))
// implementation project(':utbot-analytics') // to reduce the plugin size
testImplementation 'org.mock-server:mockserver-netty:5.4.1'
testImplementation(project(":utbot-sample"))
Expand Down
4 changes: 2 additions & 2 deletions utbot-junit-contest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jacocoTestReport {
}

dependencies {
api project(":utbot-framework")
api project(":utbot-analytics")
implementation project(":utbot-framework")
implementation project(":utbot-analytics")

implementation "com.github.UnitTestBot:soot:${soot_commit_hash}"
implementation group: 'org.apache.commons', name: 'commons-exec', version: '1.2'
Expand Down
7 changes: 3 additions & 4 deletions utbot-summary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ apply from: "${parent.projectDir}/gradle/include/jvm-project.gradle"

dependencies {
implementation "com.github.UnitTestBot:soot:${soot_commit_hash}"
api project(':utbot-framework-api')
api(project(':utbot-instrumentation'))
implementation project(':utbot-framework-api')
implementation project(':utbot-instrumentation')
implementation project(':utbot-fuzzers')

implementation group: 'com.github.haifengl', name: 'smile-kotlin', version: '2.6.0'
implementation group: 'com.github.haifengl', name: 'smile-core', version: '2.6.0'
api project(':utbot-fuzzers')
implementation(project(':utbot-instrumentation'))

implementation group: 'io.github.microutils', name: 'kotlin-logging', version: kotlin_logging_version

Expand Down