From 9afa0dd01fbfcf054e6ef54d11872c8dd68cebbb Mon Sep 17 00:00:00 2001 From: jjos2372 Date: Wed, 26 Feb 2020 09:11:12 -0300 Subject: [PATCH] gradle build --- .gitignore | 1 + build.gradle | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 260c76e3..bdd1da08 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ namecoin/target /nbproject/private/ /build/ /.gradle/ +/bin/ \ No newline at end of file diff --git a/build.gradle b/build.gradle index c1f673c1..6bf4547f 100644 --- a/build.gradle +++ b/build.gradle @@ -17,6 +17,11 @@ dependencies { compile 'org.bitcoinj:bitcoinj-core:0.15.6' } +sourceSets { + main.java.srcDirs = ['core/src/main/java'] + main.resources.srcDirs = ['core/src/main/resources'] +} + task sourcesJar(type: Jar, dependsOn: classes) { classifier = 'sources' from sourceSets.main.allSource