forked from JetBrains/gradle-idea-ext-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (53 loc) · 1.66 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
import org.gradle.kotlin.dsl.ProjectExtensionsKt
plugins {
id 'groovy'
id 'java-gradle-plugin'
id "org.jetbrains.kotlin.jvm" version "1.3.61"
id "com.gradle.plugin-publish" version "0.11.0"
}
group = 'org.jetbrains.gradle.plugin.idea-ext'
version = '1.1.6-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.google.guava:guava:28.2-jre'
implementation ProjectExtensionsKt.gradleKotlinDsl(project)
testImplementation 'org.jetbrains.kotlin:kotlin-stdlib'
testImplementation('org.spockframework:spock-core:1.3-groovy-2.5') {
exclude group: 'org.codehaus.groovy'
}
testImplementation "org.assertj:assertj-core:3.15.0"
}
gradlePlugin {
plugins {
ideaExtPlugin {
id = "org.jetbrains.gradle.plugin.idea-ext"
implementationClass = "org.jetbrains.gradle.ext.IdeaExtPlugin"
}
}
}
pluginBundle {
website = 'https://github.com/jetbrains/gradle-idea-ext-plugin'
vcsUrl = 'https://github.com/jetbrains/gradle-idea-ext-plugin'
description = 'Extends the Gradle\'s "idea" DSL with specific settings: code style, facets, run configurations etc.'
tags = ['intellij', 'idea', 'settings']
plugins {
ideaExtPlugin {
id = 'org.jetbrains.gradle.plugin.idea-ext'
displayName = 'Gradle Idea Extension plugin'
}
}
}
wrapper {
gradleVersion = "5.6.4"
distributionType = Wrapper.DistributionType.BIN
}
tasks.named('compileGroovy') {
// do not depend on compileJava
classpath = sourceSets.main.compileClasspath
}
// depend on compileGroovy
compileKotlin.classpath += files(sourceSets.main.groovy.classesDirectory)
compileKotlin.kotlinOptions.jvmTarget=1.8