-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: make abstract instance method public (#120) * test: increase test coverage (#122) * test: test type specific hashMaps * style: apply spotless * refactor: made dynamic byteBuffer allocation * test: MultiSignatureBuilder Test * style: spotless on tests * chore: update build.gradle (version bump and removed deprecated properties) * chore: added maven settings * chore: use github secrets * chore: mvn actions adjusting to Github Automation * chore: call corret gh action * chore: version bump * chore: fix maven repo stuff Co-authored-by: KovacZan <[email protected]>
- Loading branch information
Showing
15 changed files
with
245 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,44 +11,93 @@ repositories { | |
} | ||
|
||
group = 'org.arkecosystem' | ||
version = '1.1.2' | ||
version = '1.2.1' | ||
|
||
dependencies { | ||
compile group: 'org.bitcoinj', name: 'bitcoinj-core', version: '0.15.8' | ||
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6' | ||
compile 'com.google.guava:guava:28.2-jre' | ||
|
||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0' | ||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.0' | ||
} | ||
|
||
publishing { | ||
publishing { | ||
repositories { | ||
maven { | ||
name = "github" | ||
url = uri("https://maven.pkg.github.com/arkecosystem/java-crypto") | ||
credentials { | ||
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME") | ||
password = project.findProperty("gpr.key") ?: System.getenv("PASSWORD") | ||
} | ||
repositories { | ||
jcenter() | ||
mavenCentral() { | ||
name = "MavenRepo" | ||
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2") | ||
credentials { | ||
username = System.getenv("MVN_USERNAME") | ||
password = System.getenv("MVN_PASSWORD") | ||
} | ||
} | ||
|
||
maven { | ||
name = "github" | ||
url = uri("https://maven.pkg.github.com/arkecosystem/java-crypto") | ||
credentials { | ||
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME") | ||
password = project.findProperty("gpr.key") ?: System.getenv("PASSWORD") | ||
} | ||
} | ||
|
||
publications { | ||
gpr(MavenPublication) { | ||
from(components.java) | ||
} | ||
mavenJava(MavenPublication) { | ||
artifactId = 'java-crypto' | ||
from(components.java) | ||
pom { | ||
name = 'java-crypto' | ||
versionMapping { | ||
usage('java-api') { | ||
fromResolutionOf('runtimeClasspath') | ||
} | ||
usage('java-runtime') { | ||
fromResolutionResult() | ||
} | ||
} | ||
description = 'A Lightweight ARK Core JAVA Crypto SDK Library' | ||
url = 'https://sdk.ark.dev/java/crypto' | ||
licenses { | ||
license { | ||
name = 'MIT License' | ||
url = 'https://github.com/ArkEcosystem/java-crypto/blob/master/LICENSE' | ||
} | ||
} | ||
developers { | ||
developer { | ||
id = 'kovaczan' | ||
name = 'Žan Kovač' | ||
email = '[email protected]' | ||
} | ||
developer { | ||
id = 'kristjank' | ||
name = 'Kristjan Košič' | ||
email = '[email protected]' | ||
} | ||
} | ||
scm { | ||
connection = 'scm:git:git://github.com/arkecosystem/java-crypto.git' | ||
developerConnection = 'scm:git:ssh://github.com/arkecosystem/java-crypto.git' | ||
url = 'https://sdk.ark.dev/java/crypto' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
javadoc { | ||
if (JavaVersion.current().isJava9Compatible()) { | ||
options.addBooleanOption('html5', true) | ||
} | ||
javadoc { | ||
if (JavaVersion.current().isJava9Compatible()) { | ||
options.addBooleanOption('html5', true) | ||
} | ||
} | ||
|
||
|
||
dependencies { | ||
compile group: 'org.bitcoinj', name: 'bitcoinj-core', version: '0.15.8' | ||
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6' | ||
compile 'com.google.guava:guava:28.2-jre' | ||
|
||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0' | ||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.0' | ||
} | ||
|
||
test { | ||
useJUnitPlatform() | ||
failFast = true | ||
|
@@ -83,7 +132,6 @@ task formatCode(dependsOn: ['spotlessApply']) | |
|
||
task fatJar(type: Jar) { | ||
manifest.from jar.manifest | ||
classifier = 'standalone' | ||
from { | ||
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } | ||
} { | ||
|
@@ -95,12 +143,10 @@ task fatJar(type: Jar) { | |
} | ||
|
||
task javadocJar(type: Jar) { | ||
classifier = 'javadoc' | ||
from javadoc | ||
} | ||
|
||
task sourcesJar(type: Jar) { | ||
classifier = 'sources' | ||
from sourceSets.main.allSource | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.