I have two projects in the same SVN namely LOG and MAIN.
MAIN uses methods from LOG so I want to add LOG as a dependency.
Previously I copied LOG to my local directory and used below gradle setting to compile LOG.
settings:
include "LOG"
project(":LOG").projectDir = file("../LOG")
Since both are different projects we want to build LOG directly from SVN.
I used below build.gradle but it showed below error.
build.gradle:
repositories {
ivy {
url 'http://13.126.60.33/datastudio/DataStudio_Java/DataStudio_Java_Logger/Branch/Development/DataStudio_Java_Logger'
credentials {
username 'mob140003207'
password 'VIGkalai1'
}
}
}
dependencies {
compile project("DataStudio_Java_Logger")
}
Error:
Caused by: org.gradle.internal.component.model.ConfigurationNotFoundException: Project : declares a dependency from configuration 'compile' to configuration 'default' which is not declared in the descriptor for project :DataStudio_Java_Logger.
Is there any way to do this or what am I doing wrong.