1
+ import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
2
+ import com.vanniktech.maven.publish.SonatypeHost
3
+
4
+ plugins {
5
+ id ' java'
6
+ id(" com.vanniktech.maven.publish" ) version " 0.30.0"
7
+ }
8
+ // Basic project information
9
+ group = ' com.alchemy.accountkit'
10
+ version = ' 0.2.0-SNAPSHOT'
11
+ description = ' This is an Alchemy signer SDK'
12
+
13
+ repositories {
14
+ mavenCentral()
15
+ }
16
+
17
+ // Set Java compatibility
18
+ java {
19
+ sourceCompatibility = JavaVersion . VERSION_17
20
+ targetCompatibility = JavaVersion . VERSION_17
21
+ }
22
+ dependencies {
23
+ implementation ' com.google.crypto.tink:tink:1.16.0'
24
+ implementation ' org.bitcoinj:bitcoinj-core:0.17'
25
+ implementation ' com.fasterxml.jackson.core:jackson-databind:2.18.3'
26
+ implementation ' org.bouncycastle:bcprov-jdk15on:1.70'
27
+ implementation ' com.auth0:java-jwt:4.5.0'
28
+
29
+ // Lombok (provided scope in Maven = 'compileOnly' in Gradle + annotationProcessor if needed)
30
+ compileOnly ' org.projectlombok:lombok:1.18.36'
31
+ annotationProcessor ' org.projectlombok:lombok:1.18.36'
32
+
33
+ // Test dependencies
34
+ testImplementation ' org.junit.platform:junit-platform-commons:1.12.0'
35
+ testImplementation ' org.junit.platform:junit-platform-launcher:1.12.0'
36
+ testImplementation ' org.junit.jupiter:junit-jupiter:5.12.0'
37
+
38
+ testImplementation platform(' org.junit:junit-bom:5.10.0' )
39
+ testImplementation ' org.junit.jupiter:junit-jupiter'
40
+ }
41
+
42
+ test {
43
+ useJUnitPlatform()
44
+ }
45
+
46
+
47
+ mavenPublishing {
48
+ publishToMavenCentral(SonatypeHost . CENTRAL_PORTAL )
49
+
50
+ signAllPublications()
51
+
52
+ coordinates(" com.alchemy.accountkit" , " signer-sdk" , " 0.1.1-alpha" )
53
+ pom {
54
+ name = " Signer SDK"
55
+ description = " Alchemy singer SDK."
56
+ inceptionYear = " 2025"
57
+ url = " https://github.com/alchemyplatform/aa-sdk/tree/main/account-kit/java/signer-sdk"
58
+ licenses {
59
+ license {
60
+ name = " MIT license"
61
+ url = " https://github.com/alchemyplatform/aa-sdk/blob/main/LICENSE"
62
+ distribution = " https://github.com/alchemyplatform/aa-sdk/blob/main/LICENSE"
63
+ }
64
+ }
65
+ developers {
66
+ developer {
67
+ id = " andysim3d"
68
+ name = " Pengfei Zhang"
69
+ url = " https://github.com/username/andysim3d"
70
+ }
71
+ developer {
72
+ id = " moldy530"
73
+ name = " Michael Moldoveanu"
74
+ url = " https://github.com/username/moldy530"
75
+ }
76
+ developer {
77
+ id = " dphilipson"
78
+ name = " David Philipson"
79
+ url = " https://github.com/username/dphilipson"
80
+ }
81
+ }
82
+ scm {
83
+ url = " https://github.com/alchemyplatform/aa-sdk"
84
+ connection = " scm:git:git@github.com:alchemyplatform/aa-sdk.git"
85
+ developerConnection = " scm:git:git@github.com:alchemyplatform/aa-sdk.git"
86
+ }
87
+ }
88
+ }
0 commit comments