Skip to content

Commit

Permalink
Update gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
anchouls committed Dec 6, 2023
1 parent b09667b commit 04c57bb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import java.util.Properties

plugins {
kotlin("jvm") version "1.8.20"
java
id("io.gitlab.arturbosch.detekt") version "1.21.0"
`maven-publish`
}
Expand All @@ -12,9 +13,15 @@ version = "2.0.5"
allprojects {
apply {
plugin("kotlin")
plugin("java")
plugin("io.gitlab.arturbosch.detekt")
}

java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

repositories {
mavenCentral()
}
Expand Down Expand Up @@ -58,6 +65,7 @@ val spacePassword = getLocalProperty("spacePassword")

configure(subprojects) {
apply(plugin = "maven-publish")
apply(plugin = "java")

val subprojectName = this.name

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kotlin.code.style=official
pluginName = Kotlin Test Framework With IJ
platformType = IC
platformVersion = 2022.2.5
platformPlugins = Kotlin
platformPlugins = Kotlin, com.intellij.java

org.gradle.jvmargs = -XX:MaxMetaspaceSize=1g
1 change: 1 addition & 0 deletions ij/common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version = rootProject.version

plugins {
id("org.jetbrains.intellij") version "1.15.0"
id("java")
}

fun properties(key: String) = providers.gradleProperty(key)
Expand Down
1 change: 1 addition & 0 deletions ij/java-psi/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version = rootProject.version

plugins {
id("org.jetbrains.intellij") version "1.15.0"
id("java")
}

dependencies {
Expand Down

0 comments on commit 04c57bb

Please sign in to comment.