Commit 03be7b21 authored by Jyrgen Hannus's avatar Jyrgen Hannus
Browse files

Replaced Gradle compile with implementation syntax to avoid exposing unnecessary dependencies

parent 7b2c0254
......@@ -4,13 +4,15 @@ functionalities{
description = """common-api-gateway-lib"""
dependencies {
implementation ("ee.sm.ti.teis:service-request-lib:${commonsVersion}")
// This dependency is exported to consumers, that is to say found on their compile classpath.
api 'org.apache.commons:commons-math3:3.6.1'
implementation 'org.apache.commons:commons-math3:3.6.1'
implementation 'org.springframework.security:spring-security-core:5.1.5.RELEASE'
// This dependency is used for validation annotations
compile 'javax.validation:validation-api:2.0.1.Final'
compile 'io.swagger:swagger-annotations:1.5.20'
implementation 'javax.validation:validation-api:2.0.1.Final'
implementation 'io.swagger:swagger-annotations:1.5.20'
}
apply from: this.getClass().getClassLoader().getResource('teis.publishLib.gradle')
......@@ -53,8 +53,4 @@ allprojects {
}
apply from: this.getClass().getClassLoader().getResource('teis.test-sonar.gradle')
dependencies {
compile ("ee.sm.ti.teis:service-request-lib:${commonsVersion}")
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment