mill.main.gradle
package mill.main.gradle
Members list
Type members
Classlikes
object GradleBuildGenMain extends MavenAndGradle[ProjectModel, Dep]
Converts a Gradle build to Mill by generating Mill build file(s). The implementation uses the Gradle Tooling API to extract the settings for a project using a custom model.
Converts a Gradle build to Mill by generating Mill build file(s). The implementation uses the Gradle Tooling API to extract the settings for a project using a custom model.
The generated output should be considered scaffolding and will likely require edits to complete conversion.
===Capabilities=== The conversion
- handles deeply nested modules
- captures publish settings
- configures dependencies for configurations:
- implementation / api
- compileOnly / compileOnlyApi
- runtimeOnly
- testImplementation
- testCompileOnly
- configures testing frameworks:
- JUnit 4
- JUnit 5
- TestNG
===Limitations=== The conversion does not support:
- custom dependency configurations
- custom tasks
- non-Java sources
Attributes
- Source
- GradleBuildGenMain.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GradleBuildGenMain.type
In this article