Skip to content

Commit

Permalink
0.37.1
Browse files Browse the repository at this point in the history
- Will always generate Java 1.8 compatible byte code
  • Loading branch information
lessthanoptimal committed Feb 11, 2021
1 parent 0798015 commit 3f3d66f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@ dependencies {
compile group: 'org.boofcv', name: 'boofcv-swing', version: project.version
compile 'net.sf.py4j:py4j:0.10.3'

// needed to use Java 11+ syntax with Java 1.8 byte code
annotationProcessor('com.github.bsideup.jabel:jabel-javac-plugin:0.3.0')

testCompile group: 'junit', name: 'junit', version: '4.12'
}

tasks.withType(JavaCompile).all { options.compilerArgs = ["--release", "8"] }

// Create a jar which contains all the application and all dependencies
task allJar(type: Jar) {
manifest {
Expand Down
8 changes: 8 additions & 0 deletions change.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### Version 0.37.1

- Fixed LinkageError by ensuring it is built to be compatible with JRE 1.8

### Version 0.37

- Updated BoofCV version

### Version 0.36.1

- Works on windows now. Thanks GokulNC for pointing out the problem and how to fix it.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def run(self):

setup(name='PyBoof',
cmdclass={'build_py': MyBuild},
version='0.37.0', # Change in in __init__ too
version='0.37.1', # Change in in __init__ too
description='Py4J Python wrapper for BoofCV',
long_description=open('README.md', 'r').read(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 3f3d66f

Please sign in to comment.