Skip to content

Commit

Permalink
Add stub Java andf Kotlin pages
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed May 22, 2024
1 parent 80ccc26 commit 4736fa1
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 3 deletions.
1 change: 1 addition & 0 deletions .devcontainer/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ MarkupSafe==2.1.3
mergedeep==1.3.4
mkdocs==1.5.3
mkdocs-autorefs==0.5.0
mkdocs-include-markdown-plugin==6.0.6
mkdocs-macros-plugin==1.0.5
mkdocs-material==9.5.17
mkdocs-material[imaging]==9.5.17
Expand Down
39 changes: 39 additions & 0 deletions docs/java/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: Declarative Gradle for Java and JVM
description: >
Supporting key Java use-cases is a priority for Declarative Gradle,
along with support for Android and Kotlin projects.
---

Supporting key Java use-cases is a priority for Declarative Gradle,
along with support for Android and Kotlin projects.
Right now, we have prototypes for both Java application and libraries.

> **DISCLAIMER:** This page is under development, more content will be added soon.
> For now, check out the prototypes referenced below.
## Example

```kotlin
javaApplication {
javaVersion = 21
mainClass = "com.example.App"

dependencies {
implementation(project(":java-util"))
implementation("com.google.guava:guava:32.1.3-jre")
}
}
```

## Prototypes

- [Java Application](../../unified-prototype/testbed-java-application/)
- [Java Library](../../unified-prototype/testbed-java-library/)
- [Java Application for multiple JVMs](../../unified-prototype/testbed-jvm-application/)
- [Java Library for multiple JVMs](../../unified-prototype/testbed-jvm-library/)

## Related resources

- [Declarative Gradle for Kotlin](../kotlin/README.md)
- [Declarative Gradle for Android](../android/README.md)
22 changes: 22 additions & 0 deletions docs/kotlin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Declarative Gradle for Kotlin
description: >
Declarative Gradle has solution for Kotlin projects, libraries and
also for Kotlin Multiplatform applications.
---

Declarative Gradle has solution for Kotlin projects, libraries and
also for Kotlin Multiplatform (KMP) applications.

> **DISCLAIMER:** This page is under development, more content will be added soon.
> For now, check out the prototypes referenced below.
## Prototypes

- [Kotlin Application](../../unified-prototype/testbed-kotlin-application/)
- [Kotlin Library](../../unified-prototype/testbed-kotlin-library/)

## References

- [Declarative Gradle for Java](../java/README.md)
- [Declarative Gradle for Android](../android/README.md)
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ copyright: >
you can find them in the linked repositories.
The GRADLE trademark is the property of Gradle, Inc.
Use of the term GRADLE on this website and any content and/or materials available through this website is
for identification purposes only and does not imply sponsorship or endorsement by Gradle, Inc.
docs_dir: .
repo_url: https://github.com/gradle/declarative-gradle
repo_name: Declarative Gradle repo
Expand Down Expand Up @@ -86,7 +84,8 @@ nav:
Overview: README.md
Getting Started: docs/getting-started/README.md
Declarative Gradle for Android: docs/android/README.md
Declarative Gradle for Java/Kotlin/JVM: unified-prototype/README.md#java
Declarative Gradle for Java/JVM: docs/java/README.md
Declarative Gradle for Kotlin: docs/kotlin/README.md
Public Roadmap: ROADMAP.md
- Getting Started:
Overview: docs/getting-started/README.md
Expand Down Expand Up @@ -130,6 +129,7 @@ plugins:
- mkdocs-pdf
- social
- same-dir
- include-markdown

# Markdown
markdown_extensions:
Expand Down

0 comments on commit 4736fa1

Please sign in to comment.