Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Java 8 target for JPS plugins (#102)
Browse files Browse the repository at this point in the history
* OpenJDK 8 in CI

Plus latest stable IntelliJ

* targetCompatibility

* sourceCompatibility
  • Loading branch information
fkorotkov authored Jan 2, 2021
1 parent 2571b09 commit b13b70b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
container:
image: gradle:jdk11
image: openjdk:11

task:
name: Tests
build_script: gradle classes testClasses
test_script: gradle test
build_script: ./gradlew classes testClasses
test_script: ./gradlew test

task:
name: Publish
only_if: $CIRRUS_TAG != ''
depends_on: Tests
env:
JETBRAINS_TOKEN: ENCRYPTED[260a01be940eee2f33c35c8f069067b73c34244f297088843ad96d21c4062469d3628989d768056a5e42eb4e07f31c6b]
test_script: gradle :thrift:publishPlugin
test_script: ./gradlew :thrift:publishPlugin
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
plugins {
id "org.jetbrains.intellij" version "0.6.1"
id "org.jetbrains.intellij" version "0.6.5"
}

version = "${version}.$buildNumber"
subprojects {
apply plugin: 'java'
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
Expand Down
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ideaVersion = 203-EAP-SNAPSHOT
buildNumber = SNAPSHOT
ideaVersion = IC-2020.3.1
sources = true
isEAP = false

Expand Down
7 changes: 6 additions & 1 deletion jps-plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
jar.archiveName = "thrift-jps.jar"
jar.archiveName = "thrift-jps.jar"

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

0 comments on commit b13b70b

Please sign in to comment.