Skip to content

Commit 357a064

Browse files
authored
Merge pull request #6 from riege/DECLARE_API_DEPENDENCIES_1.1
declare api-dependencies properly for published library
2 parents 6fd8d4f + 4356b82 commit 357a064

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

build.gradle

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,12 @@ configurations.all {
5353
}
5454

5555
dependencies {
56-
implementation "com.fasterxml.jackson.core:jackson-annotations:2.11.4"
57-
implementation "cz.cvut.kbss.jopa:jopa-api:0.16.5"
58-
implementation "net.sourceforge.owlapi:owlapi-api:5.1.17"
59-
implementation "org.apache.commons:commons-rdf-api:0.5.0"
60-
implementation "io.swagger:swagger-annotations:1.5.24"
61-
implementation "org.springframework.data:spring-data-mongodb:3.0.9.RELEASE"
62-
implementation "org.springframework.data:spring-data-commons:2.3.9.RELEASE"
56+
api "com.fasterxml.jackson.core:jackson-annotations:2.11.4"
57+
api "cz.cvut.kbss.jopa:jopa-api:0.16.5"
58+
api "net.sourceforge.owlapi:owlapi-api:5.1.17"
59+
api "org.apache.commons:commons-rdf-api:0.5.0"
60+
api "io.swagger:swagger-annotations:1.5.24"
61+
api "org.springframework.data:spring-data-mongodb:3.0.9.RELEASE"
6362

6463
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
6564
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
@@ -111,14 +110,6 @@ publishing {
111110
description = implDescription
112111
url = System.getenv("PROJECT_URL")
113112
}
114-
versionMapping {
115-
usage('java-api') {
116-
fromResolutionOf('runtimeClasspath')
117-
}
118-
usage('java-runtime') {
119-
fromResolutionResult()
120-
}
121-
}
122113
}
123114
}
124115
repositories {

0 commit comments

Comments
 (0)