christophsturm
01/24/2021, 10:12 PMjavaClass.getResource("myJsonFile.json")
but it does not work.Vampire
01/24/2021, 10:19 PMsrc/main/resources
or src/test/resources
.
src/main/kotlin
and src/test/kotlin
are as their names suggest for Kotlin files, not for resource files.christophsturm
01/24/2021, 10:26 PMVampire
01/24/2021, 10:27 PMchristophsturm
01/24/2021, 10:31 PMVampire
01/24/2021, 10:52 PMephemient
01/24/2021, 11:22 PMNir
01/24/2021, 11:52 PMNir
01/24/2021, 11:52 PMNir
01/24/2021, 11:52 PMVampire
01/24/2021, 11:56 PMVampire
01/24/2021, 11:58 PMsrc/main/antlr
you by default have the antlr grammar definition file from which sourcecode will be generated that will be compiled alongside your other sources.Nir
01/25/2021, 12:08 AMVampire
01/25/2021, 12:15 AMchristophsturm
01/25/2021, 9:59 AMchristophsturm
01/25/2021, 10:00 AMchristophsturm
01/25/2021, 10:01 AMchristophsturm
01/25/2021, 10:06 AMVampire
01/25/2021, 11:05 AMchristophsturm
01/25/2021, 11:10 AMchristophsturm
01/25/2021, 11:11 AMephemient
01/25/2021, 11:12 AMchristophsturm
01/25/2021, 11:14 AMVampire
01/25/2021, 11:16 AMdeep directory hierarchies that work only with ideswhy should they only work with IDEs? It's even better for usage without IDE, as it is clear what resources you have. That it might not work for you does not mean it does not work for others.
a first step to fix it is people no longer using reverse domain names as package names. but things can always change if there is a better way.So, what is the "better" way to have unique package names? What is wrong with reversed-domain-name? I think that's a great convention, also immediately shows where you might get more information about the code. Just that some people don't like the convention does not make it less helpful.
well sure, that definately should be possible, but it should not influence whats the defaultAgain, it is Gradle not Maven. You are free to use any layout you want.
christophsturm
01/25/2021, 11:20 AMchristophsturm
01/25/2021, 11:21 AMVampire
01/25/2021, 11:21 AMVampire
01/25/2021, 11:22 AMwell sure, that definately should be possible, but it should not influence whats the defaultYou must be browsing really strange projects.
christophsturm
01/25/2021, 11:22 AMchristophsturm
01/25/2021, 11:25 AMVampire
01/25/2021, 11:48 AM