-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
53 lines (45 loc) · 1.49 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
51
52
53
buildscript {
repositories {
mavenCentral()
jcenter()
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
id 'org.jetbrains.intellij' version '0.4.21'
}
group 'com.pandora.plugin'
version '1.2.0'
patchPluginXml {
changeNotes """
<ul>
<li>1.0: Initial version of the Build Variant Quick-Selector for Android Studio.</li>
<li>1.1.0: Bug fix for Issue #2, related to multiple modules with named build types that match.</li>
<li>1.2.0: Bug fix for Issues #4 and #5, related to IntelliJ compatibility and NDK variant visibility in Android Studio 4.1.</li>
</ul>
"""
}
intellij {
// Define IntelliJ Platform against which to build the plugin project.
version '193.6911.18' // Same IntelliJ IDEA version (2019.1.4) as target 3.5 Android Studio
type 'IC' // Use IntelliJ IDEA CE because it's the basis of the IntelliJ Platform
// Require the Android plugin, Gradle will match the plugin version to intellij.version
plugins 'android'
updateSinceUntilBuild false
}
runIde {
// Absolute path to installed target 3.5 Android Studio to use as IDE Development Instance
// The "Contents" directory is macOS specific.
ideDirectory '/Applications/Android Studio.app/Contents'
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
}
publishPlugin {
token project.properties['jetbrains.publish.token']
}