Mark core as compileOnlyApi in module dependencies

This commit is contained in:
aNNiMON 2023-08-30 17:08:08 +03:00 committed by Victor Melnik
parent a2549c3afe
commit fc1d8b4c75
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
plugins {
id 'java-library'
id 'org.openjfx.javafxplugin' version '0.0.14'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group = 'com.annimon.module'
@ -12,7 +13,7 @@ javafx {
}
dependencies {
api project(":ownlang-core")
compileOnlyApi project(":ownlang-core")
testImplementation platform("org.junit:junit-bom:${versions.junit}")
testImplementation 'org.junit.jupiter:junit-jupiter'

View File

@ -7,7 +7,7 @@ version = '2.0-SNAPSHOT'
dependencies {
api project(":ownlang-core")
compileOnlyApi project(":ownlang-core")
implementation "com.squareup.okhttp3:okhttp:${versions.okhttp}"
implementation ("io.socket:socket.io-client:${versions.socket}") {