-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (53 loc) · 1.26 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
54
55
56
57
58
59
60
61
62
63
64
buildscript {
ext.kotlin_version = '1.3.20'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.3.5'
}
group 'cn.deemons.plugin'
version '0.3'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testCompile group: 'junit', name: 'junit', version: '4.12'
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.hynnet:jxl:2.6.12.1'
compile 'com.google.code.gson:gson:+'
compile 'com.squareup.okhttp3:okhttp:3.11.0'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
intellij {
// version 'LATEST-TRUNK-SNAPSHOT'
pluginName 'Globalization'
intellij.updateSinceUntilBuild false //Disables updating since-build attribute in plugin.xml
}
patchPluginXml {
changeNotes """
<ul>
<li>v0.3 </li>
<li>v0.2 </li>
<li>v0.1 init</li>
</ul>
"""
}
apply plugin: 'org.jetbrains.intellij'
publishPlugin {
username 'Deemons'
password 'FE2E-HD8X-IOVP-02W9-ZO5D'
}