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