Skip to content

Commit

Permalink
Target Java 1.7 since 1.5 isn't supported by JDK 11
Browse files Browse the repository at this point in the history
Update Gradle to 6.8.2
fix travis build
  • Loading branch information
dnault committed Feb 21, 2021
1 parent facb7b8 commit d156eaf
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.gradle
build

.idea
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
language: java
jdk:
- oraclejdk7
- openjdk8
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Build Status](https://travis-ci.org/dnault/libresample4j.svg?branch=master)](https://travis-ci.org/dnault/libresample4j)
[![LGPL 2.1](https://img.shields.io/badge/license-LGPL%202.1-blue.svg)](http://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html#SEC1)
![Java 1.5+](https://img.shields.io/badge/java-1.5+-lightgray.svg)
![Java 1.5+](https://img.shields.io/badge/java-1.7+-lightgray.svg)

# libresample4j

Expand Down
14 changes: 6 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@

plugins {
id "java"
id "idea"
id 'java-library'
}

repositories {
jcenter()
mavenCentral()
}

dependencies {
testCompile 'junit:junit:4.12'
testCompile 'net.java.dev.jna:jna-platform:4.2.2'

testImplementation 'junit:junit:4.12'
testImplementation 'net.java.dev.jna:jna-platform:4.2.2'
}

group = "com.github.dnault"
version = "0.1.0-SNAPSHOT"

targetCompatibility = "1.5"
sourceCompatibility = "1.5"
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip

0 comments on commit d156eaf

Please sign in to comment.