Skip to content

Commit

Permalink
test api gradle dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasPfeifer committed Feb 29, 2024
1 parent cf5be18 commit 148724c
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 21 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins{
id 'java'
id 'java-library'
id 'jacoco-report-aggregation'
id 'eclipse'
id 'application'
Expand Down Expand Up @@ -85,6 +86,7 @@ def descriptions = [

subprojects {
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'signing'
apply plugin: 'eclipse'
apply plugin: 'jacoco'
Expand Down
6 changes: 3 additions & 3 deletions opt4j-benchmarks/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies {
implementation group: 'com.google.inject', name: 'guice', version: project.guiceVersion
implementation project(':opt4j-core')
implementation project(':opt4j-satdecoding')
//api group: 'com.google.inject', name: 'guice', version: project.guiceVersion
api project(':opt4j-core')
api project(':opt4j-satdecoding')

testImplementation platform(group: 'org.junit', name: 'junit-bom', version: project.junitVersion)
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter'
Expand Down
2 changes: 1 addition & 1 deletion opt4j-core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.apache.tools.ant.filters.ReplaceTokens

dependencies {
implementation group: 'com.google.inject', name: 'guice', version: project.guiceVersion
api group: 'com.google.inject', name: 'guice', version: project.guiceVersion

testImplementation platform(group: 'org.junit', name: 'junit-bom', version: project.junitVersion)
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter'
Expand Down
4 changes: 2 additions & 2 deletions opt4j-operators/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies {
implementation group: 'com.google.inject', name: 'guice', version: project.guiceVersion
implementation project(':opt4j-core')
//api group: 'com.google.inject', name: 'guice', version: project.guiceVersion
api project(':opt4j-core')

testImplementation platform(group: 'org.junit', name: 'junit-bom', version: project.junitVersion)
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter'
Expand Down
6 changes: 3 additions & 3 deletions opt4j-optimizers/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies {
implementation project(':opt4j-core')
implementation project(':opt4j-operators')
implementation group: 'com.google.inject', name: 'guice', version: project.guiceVersion
api project(':opt4j-core')
api project(':opt4j-operators')
//api group: 'com.google.inject', name: 'guice', version: project.guiceVersion

testImplementation platform(group: 'org.junit', name: 'junit-bom', version: project.junitVersion)
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter'
Expand Down
8 changes: 4 additions & 4 deletions opt4j-satdecoding/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
dependencies {
implementation group: 'org.ow2.sat4j', name: 'org.ow2.sat4j.core', version: project.sat4jVersion
implementation group: 'org.ow2.sat4j', name: 'org.ow2.sat4j.pb', version: project.sat4jVersion
implementation group: 'com.google.inject', name: 'guice', version: project.guiceVersion
implementation project(':opt4j-core')
api group: 'org.ow2.sat4j', name: 'org.ow2.sat4j.core', version: project.sat4jVersion
api group: 'org.ow2.sat4j', name: 'org.ow2.sat4j.pb', version: project.sat4jVersion
//api group: 'com.google.inject', name: 'guice', version: project.guiceVersion
api project(':opt4j-core')

testImplementation platform(group: 'org.junit', name: 'junit-bom', version: project.junitVersion)
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter'
Expand Down
12 changes: 6 additions & 6 deletions opt4j-tutorial/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import org.apache.tools.ant.filters.*
import java.util.regex.*

dependencies {
implementation project(':opt4j-core')
implementation project(':opt4j-satdecoding')
implementation project(':opt4j-optimizers')
implementation project(':opt4j-operators')
implementation project(':opt4j-viewer')
implementation group: 'com.google.inject', name: 'guice', version: project.guiceVersion
api project(':opt4j-core')
api project(':opt4j-satdecoding')
api project(':opt4j-optimizers')
api project(':opt4j-operators')
api project(':opt4j-viewer')
//api group: 'com.google.inject', name: 'guice', version: project.guiceVersion

testImplementation platform(group: 'org.junit', name: 'junit-bom', version: project.junitVersion)
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter'
Expand Down
4 changes: 2 additions & 2 deletions opt4j-viewer/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies {
implementation project(':opt4j-core')
implementation group: 'com.google.inject', name: 'guice', version: project.guiceVersion
api project(':opt4j-core')
// api group: 'com.google.inject', name: 'guice', version: project.guiceVersion

testImplementation platform(group: 'org.junit', name: 'junit-bom', version: project.junitVersion)
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter'
Expand Down

0 comments on commit 148724c

Please sign in to comment.