mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2024-11-23 11:42:45 +01:00
55 lines
1003 B
Groovy
55 lines
1003 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'org.jetbrains.intellij' version '0.3.12'
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'kotlin'
|
|
|
|
sourceCompatibility = javaVersion
|
|
targetCompatibility = javaVersion
|
|
|
|
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
|
|
|
|
sourceSets {
|
|
main {
|
|
java.srcDir 'src'
|
|
resources.srcDir 'resources'
|
|
}
|
|
test {
|
|
java.srcDir 'test'
|
|
}
|
|
}
|
|
|
|
intellij {
|
|
version ideaVersion
|
|
pluginName 'IdeaVim'
|
|
updateSinceUntilBuild false
|
|
downloadSources Boolean.valueOf(downloadIdeaSources)
|
|
instrumentCode Boolean.valueOf(instrumentPluginCode)
|
|
|
|
publishPlugin {
|
|
channels publishChannels.split(',')
|
|
username publishUsername
|
|
password publishPassword
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
|
compile "org.jetbrains.kotlin:kotlin-runtime:$kotlinVersion"
|
|
}
|