commit 8b195665a687db5a8b2a0030c7df175788d2b11f Author: Andrea Cavalli Date: Sat Oct 3 00:51:22 2020 +0200 First commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ca46140 --- /dev/null +++ b/.gitignore @@ -0,0 +1,53 @@ +# ---> Java +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# ---> Linux +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +# ---> Maven +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +# https://github.com/takari/maven-wrapper#usage-without-binary-jar +.mvn/wrapper/maven-wrapper.jar + diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..7d9716b --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,10 @@ +pipeline { + agent { docker { image 'maven:3.3.3' } } + stages { + stage('build') { + steps { + sh 'mvn --version' + } + } + } +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cff3536 --- /dev/null +++ b/LICENSE @@ -0,0 +1,23 @@ +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, execute, +and transmit the Software, and to prepare derivative works of the Software, +and to permit third-parties to whom the Software is furnished to do so, all +subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, must +be included in all copies of the Software, in whole or in part, and all derivative +works of the Software, unless such copies or derivative works are solely in +the form of machine-executable object code generated by a source language +processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES +OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..3760ce7 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +Native libraries used by TDLight Java + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..29a4aa5 --- /dev/null +++ b/pom.xml @@ -0,0 +1,70 @@ + + 4.0.0 + it.tdlight + tdlight-natives-linux-aarch64 + 1.1.7 + TDLight Natives for Linux (aarch64) + jar + + UTF-8 + + + + + publish-to-mchv + + + + mchv + MCHV Apache Maven Packages + https://mvn.mchv.eu/repository/mchv/ + + + + + publish-to-github + + + + github + GitHub TDLight Team Apache Maven Packages + https://maven.pkg.github.com/tdlight-team/tdlight-java + + + + + + + + + maven-clean-plugin + 3.1.0 + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.1 + + UTF-8 + 1.8 + 1.8 + + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 3.0.0-M1 + + + maven-deploy-plugin + 2.8.2 + + + + diff --git a/src/main/java/it/tdlight/tdlight/linux/aarch64/LoadLibrary.java b/src/main/java/it/tdlight/tdlight/linux/aarch64/LoadLibrary.java new file mode 100644 index 0000000..e0a5581 --- /dev/null +++ b/src/main/java/it/tdlight/tdlight/linux/aarch64/LoadLibrary.java @@ -0,0 +1,9 @@ +package it.tdlight.tdlight.linux.aarch64; + +import java.lang.ClassLoader; + +public class LoadLibrary { + public static ClassLoader getClassLoader() { + return LoadLibrary.class.getClassLoader(); + } +}