Replies: 4 comments 7 replies
-
I’m not sure how popular that is, but at some point when using Java ecosystem, I was almost forced to use "annotation processors". It was the first and only time I've seen this, and quick research indicated that there is no easy way to use this in |
Beta Was this translation helpful? Give feedback.
-
I'm curious what is the impetus behind trying to target Java devs? |
Beta Was this translation helpful? Give feedback.
-
I wonder whether there are any Eclispe IDE users? If not for Scala or Kotlin, Eclipse IDE used to be a nice performer, so the question is, whether we might want to add a generator for some rudimentary Eclipse IDE project files ( |
Beta Was this translation helpful? Give feedback.
-
Maybe, if we write a nice tutorial how to publish to Maven Central, from account creation at Sonatype, over generating a token up to setting it up in Mill and maybe automation via GitHub, we may cover a very pressing topic. These questions were asked in all JVM communities and having a single link to up-to-date documentation could be a game changer. It's not easy in any build tool, but besides the typical network issues and unavailability of Sonatype services (which we should mention with example how to identify) it works rather nice in Mill. The workflows are much better that e.g. in Maven, where you can find whole plugins just to manage editing |
Beta Was this translation helpful? Give feedback.
-
One of my mid-term goals is to try and make Mill an attractive environment for building Java projects. Most Java projects are on Maven or Gradle (IntelliJ Developer Survey), so people are already writing Groovy or XML to configure their builds, and getting them to learn Scala doesn't seem like such a stretch (despite Scala's reputation for confusingness)
Scala and Java are close enough that a bunch of the stuff already translates over: dependencies, classpaths, jars, assemblies, etc..
We already have decent support for Java as a language, including a dedicated section in the documentation (https://mill-build.org/mill/0.11.11/Java_Intro_to_Mill.html). If we like Mill and think it's intuitive, then it would be great if other JVM language folks could benefit from using Mill to build their projects
But Java as an ecosystem does things differently than projects using Scala, and so there is probably more work to be done to make using Mill an attractive option. The question is, what?
Some ideas off the top of my head:
First class support for big Java frameworks:
Support BOMs and dependency management (Support BOMs/dependencyManagement coursier/coursier#1390)
Work to get rid of weird DSLs and Scala-isms (Make
T
an alias forTask
instead ofTarget
, moveT.*
operations toTask.*
#3356)Support Kotlin? https://github.com/lefou/mill-kotlin already exists, but we could in-source it and provide the same fleshed out documentation we now provide for Java and Scala
Port SBT-Pom-Reader to Mill, to simplify the migration story https://github.com/sbt/sbt-pom-reader
General quality-of-life improvements: better IDE support, better CLI, better performance, etc.. Not necessarily specific to Java, but would benefit anyone using Mill
What else do we need to make Java folks feel at home using Mill? Please let me know what you think below!
Beta Was this translation helpful? Give feedback.
All reactions