-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
build.gradle.kts
57 lines (47 loc) · 1.67 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
// Java support
id("java")
// Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.9.25"
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
id("org.jetbrains.intellij") version "1.17.4"
}
group = "com.emberjs"
version = "2024.1.1"
// Configure project's dependencies
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.assertj:assertj-core:3.25.3")
}
// Configure gradle-intellij-plugin plugin.
// Read more: https://github.com/JetBrains/gradle-intellij-plugin
intellij {
pluginName.set("Ember.js")
// see https://www.jetbrains.com/intellij-repository/releases/
// and https://www.jetbrains.com/intellij-repository/snapshots/
version.set("2024.1")
type.set("IU")
downloadSources.set(!System.getenv().containsKey("CI"))
updateSinceUntilBuild.set(true)
// Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
// Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
//
// com.dmarcotte.handlebars: see https://plugins.jetbrains.com/plugin/6884-handlebars-mustache/versions
plugins.set(listOf("JavaScript", "com.intellij.css", "yaml", "com.dmarcotte.handlebars:241.14494.150"))
sandboxDir.set(project.rootDir.canonicalPath + "/.sandbox")
}
tasks {
withType<JavaCompile> {
sourceCompatibility = "17"
targetCompatibility = "17"
}
withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
}
publishPlugin {
token.set(System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken"))
}
}