-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
43 lines (38 loc) · 1021 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
plugins {
id("org.jetbrains.intellij") version "0.6.3"
kotlin("jvm") version "1.4.10"
}
group = "com.mobius.idea_plugins"
version = "1.0"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
/**
* We targeting on the local version of Android Studio for getting proper API of plugins.
*/
// version = "2020.1.4"
localPath = "/Applications/Android Studio 4.0.app/Contents"
/**
* Defines dependencies from three plugins: java + Kotlin + android
*/
setPlugins("java", "Kotlin", "android")
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}
tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml") {
changeNotes("""
Add change notes here.<br>
<em>most HTML tags may be used</em>""")
}