So I can build the whole project, and then move on to creating a single jar that encompasses all my classes. I’ve been able to do gradle build nameOfSourceSetĪnd I see the output of a single one built inside build/nameOfSourceSet.īut how do I tell gradle to build all of them on a task? I also have a lot of different components that need to be built independently in order. But this still doesn’t work Gradle tries to compile those three files regardless. Obviously this isn’t “real”, but I wanted to see if maybe there was a wildcard problem. That just plain does not work.The 3 source files that match those two exclusion patterns are included in the sourceSet anyways, making the build fail.Įxclude('/home/gward/src/ourproduct/component3/source/com/example/comp3/MockThing.java')Įxclude('/home/gward/src/ourproduct/component7/source/com/example/comp7/MockFoo.java')Įxclude('/home/gward/src/ourproduct/component7/source/com/example/comp7/MockBar.java') (Since component3 and component7 are actually the only ones with any Mock*.java files to exclude in principal I should list all components except component5 here, but I’m lazy.) I know its not possible to pass parameters to computed properties and I havent been able to use. I believe this happens because changing prevTitle triggers re-rendering. You see, for most of those components, I want to exclude ‘**/Mock*.java’, but for one particular component I need to include those files.īut that resulted in an empty sourceSet, which made perfect sense once I read the fine documentation for PatternFilterable (which sset.java is an instance of). This ends with browser doing infinite loop (verified with console.log) and Vue Devtools gives warning 'You may have an infinite update loop in a component render function'. + componentN_classpath) īut I’m having trouble with the exclusions. + componentN_srcdirs ĬompileClasspath = files(component1_classpath +. I’ve almost got it working like this: component1_srcdirs =
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |