Comments (3)
@hfhbd So you want Dokkatoo to automatically set up a multi-module aggregation, if possible? I think that's worth investigating, so please make a new issue. I think it would be possible for Dokkatoo to implement that using default dependencies. Such a feature would be dependent on fixing this issue.
from dokkatoo.
Does this issue also include the adding all modules manually using dependencies { dokkatoo(projects.foo) }
? With big projects and adding new modules it is easy to forget to add the new module in the root project too. Would using a BuildService help to register the projects automatically?
from dokkatoo.
I've pushed a change #127 that makes adding the dependency slightly easier and less verbose. Dokkatoo will now automatically add a version, so all that's required is:
dependencies {
dokkatoo(project(":parentProject:childProjectA"))
dokkatoo(project(":parentProject:childProjectB"))
// A dependency on all-modules-page-plugin is required at the moment.
// A version is not required, Dokkatoo will automatically add one.
dokkatooPluginHtml("org.jetbrains.dokka:all-modules-page-plugin")
}
The version will be set from the version set in the Dokkatoo extension:
// build.gradle.kts
dokkatoo {
versions {
jetbrainsDokka.set("1.9.10")
}
}
from dokkatoo.
Related Issues (20)
- Use Gradle to download & cache package lists HOT 2
- Sub-modules don't inherit the footer message for HTML Dokka docs HOT 2
- Update Dokka to 1.9.0 HOT 3
- README for examples HOT 1
- Error: "Could not determine the dependencies of task ':<project>:dokkatooGenerateModuleHtml'." HOT 12
- Empty publication when Kotlin plugin applied to subprojects, but not to root project (with apply=false) HOT 9
- Dependency Dashboard
- Update default Dokka version to 1.9.10 HOT 2
- Warning "Configuration 'dokkatooHtmlResolver' was resolved during configuration time" in Android projects HOT 1
- Add warning when trying to generate a HTML publication with modules, but `all-modules-page-plugin` is not in the plugin classpath
- Consider using different Gradle attributes for `dokkatooHtmlPublicationPluginClasspathApiOnlyConsumable` HOT 9
- How to fix OOM HOT 6
- Compilation error only happening during Dokka build HOT 24
- feature request: support multiple aggregations at the root for the same project HOT 1
- Using dokkatoo in precompiled script plugins causes "Internal Dokkatoo API" warnings HOT 4
- Dokka plugin support HOT 4
- Allow applying Dokkatoo to pure Java projects
- Dokkatoo uses typesafe Attributes, which are bugged in Gradle
- How to keep class with ViewDataBinding - Error class: unknown class and show subModule HOT 5
- Point default Kotlin stdlib external doc URL to new location
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokkatoo.