Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.JetBrains:gradle-intellij-plugin:1.1.2'
}
dependencies {
implementation("com.github.JetBrains:gradle-intellij-plugin:1.1.2")
}
<dependency>
<groupId>com.github.JetBrains</groupId>
<artifactId>gradle-intellij-plugin</artifactId>
<version>1.1.2</version>
</dependency>
libraryDependencies += "com.github.JetBrains" % "gradle-intellij-plugin" % "1.1.2"
:dependencies [[com.github.JetBrains/gradle-intellij-plugin "1.1.2"]]
The IntelliJ Platform Gradle Plugin is a plugin for the Gradle build system to help configure your environment for building, testing, verifying, and publishing plugins for IntelliJ-based IDEs.
The documentation of the IntelliJ Platform Gradle Plugin has moved to the IntelliJ Platform Plugin SDK Documentation: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html
To install the IntelliJ Platform Gradle Plugin in your project, follow the Usage section of the plugin documentation. There's also a Snapshot Release available built nightly from the main branch containing the always-latest version of the plugin.
All releases are available in the Releases section. The latest available version is:
Please see CONTRIBUTING on how to submit feedback and contribute to this project.
Licensed under the Apache License, Version 2.0 (the "License"), see LICENCE.