I made a small change ( https://github.com/jamesmbowler/dgs-framework/commit/0f6def33155e4ac50b8e87ca82f7893a5b0a989b ) on a lib I'm using, just to test out some changes using maven local. I've verified that "publish to maven local" is working. The below shows my change in the maven repo.
jamesbowler@Jamess-MacBook-Pro mvc % cat DgsRestController.kt | grep -i starting
logger.debug("--------Starting HTTP GraphQL handling...")
jamesbowler@Jamess-MacBook-Pro mvc % pwd
/Users/jamesbowler/.m2/repository/com/netflix/graphql/dgs/graphql-dgs-spring-webmvc/6.1.0-SNAPSHOT/com/netflix/graphql/dgs/mvc
I delete gradle cache, and I bootRun my app, and I don't see my changes.
Looking in gradle cache, after extracting the jar, I do not see my change.
jamesbowler@Jamess-MacBook-Pro mvc % javap -verbose DgsRestController.class | grep -i starting
#170 = Utf8 Starting HTTP GraphQL handling...
#171 = String #170 // Starting HTTP GraphQL handling...
192: ldc #171 // String Starting HTTP GraphQL handling...
jamesbowler@Jamess-MacBook-Pro mvc % pwd
/Users/jamesbowler/.gradle/caches/modules-2/files-2.1/com.netflix.graphql.dgs/graphql-dgs-spring-webmvc/6.0.0/ddac552bfdbad369d1faebe9afe55002f5d13b04/com/netflix/graphql/dgs/mvc
In build.gradle.kts, I have this, so I don't know why it's refetching the lib.
repositories {
mavenLocal()
mavenCentral()