-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
63 lines (52 loc) · 1.57 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
buildscript {
repositories {
maven { url 'https://dl.bintray.com/jetbrains/intellij-plugin-service' }
}
}
plugins {
id "org.jetbrains.intellij" version "0.3.11"
}
dependencies {
def withoutKotlinAndMySql = {
exclude group: 'org.jetbrains.kotlin'
exclude group: 'mysql'
}
def withoutSlfAndKotlinAndMySql = {
exclude group: 'org.slf4j'//, module: 'slf4j-api'
exclude group: 'org.jetbrains.kotlin'
exclude group: 'mysql'
}
compile project(':common')
compile project(':ruby-call-signature'), withoutKotlinAndMySql
compile project(':storage-server-api'), withoutSlfAndKotlinAndMySql
compile project(':contract-creator'), withoutSlfAndKotlinAndMySql
compile project(':state-tracker'), withoutSlfAndKotlinAndMySql
// https://mvnrepository.com/artifact/com.h2database/h2
compile group: 'com.h2database', name: 'h2', version: '1.4.199'
}
sourceSets {
main.java.srcDirs = ['src']
main.resources.srcDirs = ['resources']
test.java.srcDirs = ['src/test/java']
test.resources.srcDirs=['src/test/testData']
}
intellij {
version ideaVersion
pluginName 'ruby-runtime-stats'
plugins = ["yaml", "org.jetbrains.plugins.ruby:$rubyPluginVersion"]
}
patchPluginXml {
sinceBuild '193.5233.102'
untilBuild '193.*'
version '0.3.3'
}
prepareSandbox.doLast {
def destDir = "$it.destinationDir/$intellij.pluginName"
copy {
from sourceSets.main.resources.include("**/*.rb", "**/*.db")
into destDir
}
}
test {
testLogging.showStandardStreams = true
}