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

Java 8 target for JPS plugins #102

Merged
merged 3 commits into from
Jan 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}