2019-08-17 17:53:11 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2019-08-19 08:00:01 +00:00
|
|
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
|
2019-08-17 17:53:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: "idea"
|
|
|
|
apply plugin: "java"
|
|
|
|
apply plugin: "groovy"
|
2019-08-19 08:00:01 +00:00
|
|
|
apply plugin: 'maven'
|
2019-08-17 17:53:11 +00:00
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
apply plugin: 'com.jfrog.bintray'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation("org.slf4j:slf4j-simple:${slf4jVersion}")
|
|
|
|
implementation('com.google.code.gson:gson:2.8.5')
|
|
|
|
implementation("com.squareup.okhttp3:okhttp:4.1.0")
|
|
|
|
testCompile("org.spockframework:spock-core:${spockVersion}") {
|
|
|
|
exclude group: "org.codehaus.groovy"
|
|
|
|
}
|
|
|
|
testCompile group: 'com.athaydes', name: 'spock-reports', version: '1.3.1'
|
|
|
|
}
|
|
|
|
|
|
|
|
bintray {
|
|
|
|
user = System.getenv('BINTRAY_USER')
|
|
|
|
key = System.getenv('BINTRAY_KEY')
|
|
|
|
|
|
|
|
configurations = ['archives']
|
|
|
|
pkg {
|
|
|
|
repo = "libs"
|
|
|
|
name = id
|
|
|
|
websiteUrl = siteUrl
|
|
|
|
vcsUrl = gitUrl
|
|
|
|
licenses = licenses
|
|
|
|
publish = true
|
|
|
|
}
|
|
|
|
}
|