-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (45 loc) · 1.18 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
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
buildscript {
repositories {
maven { url 'https://cache-redirector.jetbrains.com/intellij-repository/snapshots' }
mavenCentral()
}
dependencies {
classpath("com.jetbrains.rd:rd-gen:2024.3.1") // https://search.maven.org/artifact/com.jetbrains.rd/rd-gen
}
}
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.9.22'
id 'org.jetbrains.intellij.platform' version '2.2.0'
id 'me.filippov.gradle.jvm.wrapper' version '0.14.0'
}
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
group 'com.reallyliri.plugins'
version '1.7'
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
tasks.withType(KotlinJvmCompile).configureEach {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_21)
}
}
dependencies {
intellijPlatform {
rider('2024.3')
}
}
publishPlugin {
token = System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken")
}