Skip to content

Instantly share code, notes, and snippets.

@code-twister
Created January 8, 2018 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save code-twister/2430e91a8ebd82e7bf8ec85550764259 to your computer and use it in GitHub Desktop.
Save code-twister/2430e91a8ebd82e7bf8ec85550764259 to your computer and use it in GitHub Desktop.
Gradle build file for Android Studio plugin
buildscript {
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
url 'http://dl.bintray.com/jetbrains/intellij-plugin-service'
}
}
dependencies {
classpath "gradle.plugin.org.jetbrains:gradle-intellij-plugin:0.1.10"
}
}
apply plugin: 'java'
apply plugin: 'org.jetbrains.intellij'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
intellij {
version '2017.1'
pluginName 'YOUR PLUGIN NAME HERE'
plugins 'android'
updateSinceUntilBuild false
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
group 'YOUR MAVEN GROUP'
version 'LIBRARY VERSION'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment