diff --git a/jParser/core/build.gradle b/jParser/core/build.gradle index 09fe2261..eb0df639 100644 --- a/jParser/core/build.gradle +++ b/jParser/core/build.gradle @@ -4,10 +4,15 @@ apply plugin: 'signing' def module_name = "jParser-core" +configurations { + includeDep + api.extendsFrom includeDep +} + dependencies { - api project(":jParser:idl") - api "com.github.javaparser:javaparser-symbol-solver-core:$project.javaparserVersion" - api "com.github.javaparser:javaparser-core:$project.javaparserVersion" + includeDep project(":jParser:idl") + includeDep "com.github.javaparser:javaparser-symbol-solver-core:$project.javaparserVersion" + includeDep "com.github.javaparser:javaparser-core:$project.javaparserVersion" } task fromClasses(type: Jar) { @@ -63,7 +68,7 @@ publishing { } withXml { def dependenciesNode = asNode().appendNode('dependencies') - configurations.implementation.allDependencies.each { + configurations.includeDep.allDependencies.each { def dependencyNode = dependenciesNode.appendNode('dependency') dependencyNode.appendNode('groupId', it.group) dependencyNode.appendNode('artifactId', it.name)