Gradle in the java project should uniformly manage the version of the jar package, and then how to refer to

ext {
    //
    springVersion = "4.3.10.RELEASE"
}
compile(
            "org.springframework:spring-context:",
    )
Feb.28,2021

you can use
"org.springframework:spring-context:$springVersion"

directly as follows. < hr >

by the way, send an enterprise project built using gradle
https://github.com/zhudyos/duic
integrates java/node/docker build
using travis ci, after building tag , the docker image is automatically built and submitted to github releases

.

gradle is a fool who has been fooled to death. He won't make a mistake some time ago and always reports an error. Decisively switch to the maven project, it's much more comfortable


where are the bosses, do me a favor

Menu