jdaugherty commented on issue #14977:
URL: https://github.com/apache/grails-core/issues/14977#issuecomment-3298886371

   The following will cause a multiproject build classes to be referenced 
instead of a jar file: 
   
       import org.gradle.api.attributes.LibraryElements
   
       plugins {
         id 'java' // or 'java-library', etc.
       }
   
       configurations.named("runtimeClasspath") {
         attributes {
           attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE,
             objects.named(LibraryElements, LibraryElements.CLASSES))
         }
       }
   
       configurations.matching { it.name == "testRuntimeClasspath" }.all {
         attributes {
           attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE,
             objects.named(LibraryElements, LibraryElements.CLASSES))
         }
       }
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to