-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (42 loc) · 1.13 KB
/
build.gradle
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
44
45
46
47
48
49
50
buildscript {
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.4.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.41"
}
}
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'kotlin'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compileClasspath files("/Applications/Android Studio 3.3.app/Contents/plugins/android/lib/android.jar")
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
intellij {
// localPath '/Applications/Android Studio 3.3.app' // uncomment when building and running locally
type 'AI'
updateSinceUntilBuild true
}
patchPluginXml {
changeNotes """Update templates to latest stanwood architecture release"""
sinceBuild '181'
untilBuild '192.*'
version '1.0.0'
}
publishPlugin {
username System.getenv("JETBRAINS_USER")
password System.getenv("JETBRAINS_PW")
}