From 1e1306d8b2e117540708a7845db575517cd7e78c Mon Sep 17 00:00:00 2001 From: Michael Tucek Date: Thu, 18 Mar 2021 13:18:00 +0100 Subject: [PATCH] #3713 initial gradle project --- src/bindings/jna/libelektra/build.gradle | 15 +++++++++++++++ src/bindings/jna/libelektra/dependencies.gradle | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 src/bindings/jna/libelektra/build.gradle create mode 100644 src/bindings/jna/libelektra/dependencies.gradle diff --git a/src/bindings/jna/libelektra/build.gradle b/src/bindings/jna/libelektra/build.gradle new file mode 100644 index 00000000000..c41130a5fe2 --- /dev/null +++ b/src/bindings/jna/libelektra/build.gradle @@ -0,0 +1,15 @@ +// apply project configuration for java libraries +apply from: "$rootProject.projectDir/java-library.gradle" + +// apply project dependencies +apply from: 'dependencies.gradle' + +// apply maven publish configuration +ext { + artifactId = 'libelektra' + pomName = "$project.name - $parent.name" + pomDescription = 'Low-level Elektra java binding to elekrify Java applications and write Elektra plugins using Java.' + pomUrl = 'https://www.libelektra.org' + +} +apply from: "$rootProject.projectDir/maven-publish.gradle" diff --git a/src/bindings/jna/libelektra/dependencies.gradle b/src/bindings/jna/libelektra/dependencies.gradle new file mode 100644 index 00000000000..dd8f0ff7b5e --- /dev/null +++ b/src/bindings/jna/libelektra/dependencies.gradle @@ -0,0 +1,7 @@ +dependencies { + // jna + api "net.java.dev.jna:jna:$jnaVersion" + + // junit + testImplementation "junit:junit:$junitVersion" +}