mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2024-11-23 11:42:45 +01:00
d49683ab2f
The minimal compatible version is now 2018.3.
55 lines
1005 B
Groovy
55 lines
1005 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)
|
|
intellijRepo = "https://www.jetbrains.com/intellij-repository"
|
|
|
|
publishPlugin {
|
|
channels publishChannels.split(',')
|
|
username publishUsername
|
|
password publishPassword
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
|
}
|