From cb4f720890359ce8f63782ede8a67152e1e7699d Mon Sep 17 00:00:00 2001 From: Adrien Pessu <7055334+adrienpessu@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:19:04 +0200 Subject: [PATCH] feat: add Kotlin as a supported language (#52274) Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com> --- .../learning-about-github/github-language-support.md | 3 ++- data/features/kotlin-supported-language.yml | 4 ++++ data/reusables/supported-languages/kotlin.md | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 data/features/kotlin-supported-language.yml create mode 100644 data/reusables/supported-languages/kotlin.md diff --git a/content/get-started/learning-about-github/github-language-support.md b/content/get-started/learning-about-github/github-language-support.md index c9d0a63da329..6e9c2ed3b1ba 100644 --- a/content/get-started/learning-about-github/github-language-support.md +++ b/content/get-started/learning-about-github/github-language-support.md @@ -21,7 +21,7 @@ Some {% data variables.product.prodname_dotcom %} products have features that ar ## Core languages supported by {% data variables.product.prodname_dotcom %} features -Core languages for {% data variables.product.prodname_dotcom %} features include C, C++, C#, Go, Java, JavaScript, PHP, Python, Ruby,{% ifversion dependabot-updates-cargo-private-registry-support %} Rust,{% endif %} Scala, and TypeScript. For features that support package managers, the currently supported package managers are included in the table with their relevant languages. +Core languages for {% data variables.product.prodname_dotcom %} features include C, C++, C#, Go, Java, JavaScript,{% ifversion kotlin-supported-language %} Kotlin,{% endif %} PHP, Python, Ruby,{% ifversion dependabot-updates-cargo-private-registry-support %} Rust,{% endif %} Scala, and TypeScript. For features that support package managers, the currently supported package managers are included in the table with their relevant languages. Some features are supported for additional languages or package managers. If you want to know whether another language is supported for a feature or to request support for a language, visit {% data variables.contact.community_support_forum %}. @@ -32,6 +32,7 @@ Some features are supported for additional languages or package managers. If you {% data reusables.supported-languages.go %} {% data reusables.supported-languages.java %} {% data reusables.supported-languages.javascript %} +{% data reusables.supported-languages.kotlin %} {% data reusables.supported-languages.php %} {% data reusables.supported-languages.python %} {% data reusables.supported-languages.ruby %} diff --git a/data/features/kotlin-supported-language.yml b/data/features/kotlin-supported-language.yml new file mode 100644 index 000000000000..0c679d536475 --- /dev/null +++ b/data/features/kotlin-supported-language.yml @@ -0,0 +1,4 @@ +versions: + fpt: '*' + ghec: '*' + ghes: '>3.15' diff --git a/data/reusables/supported-languages/kotlin.md b/data/reusables/supported-languages/kotlin.md new file mode 100644 index 000000000000..08d893c47723 --- /dev/null +++ b/data/reusables/supported-languages/kotlin.md @@ -0,0 +1,3 @@ +| {% ifversion kotlin-supported-language %} | +| Kotlin | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %}
Maven, Gradle| {% octicon "check" aria-label="Supported" %}
Maven, Gradle | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %}
Maven, Gradle | +| {% endif %} |