47 lines
824 B
Groovy
47 lines
824 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
|
|
group = 'com.shine'
|
|
version = '1.0.0'
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
tasks.withType(Jar) {
|
|
manifest {
|
|
attributes(
|
|
'Implementation-Title': 'solana-shine-lib', // или solana-shine-client-lib
|
|
'Implementation-Version': version
|
|
)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation platform('org.junit:junit-bom:5.10.0')
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
|
|
implementation project(':solana-shine-lib')
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
// implementation "com.mmorrell:solanaj:1.15.1"
|
|
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
|
|
|