I have a strange problem while the dependencies both on artifactory and local when using compile project.
In my springboot project, I have below configuration:
dependencies {
compile project(“other-project”)
}
The other-project will compile and generate jar other-project-newversion.jar file with latest timestamp.
My artifactory contains other-project-oldversion.jar with the old version (old timestamp).
But when I run bootRun task and check dependencies, It always use the other-project-oldversion which on the artifactory.
How can I use the lastest other-project-newversion.jar? thanks