41 lines
846 B
Groovy
41 lines
846 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id 'org.jetbrains.kotlin.jvm' version '1.3.41'
|
||
|
id "com.jfrog.bintray" version "1.8.4"
|
||
|
}
|
||
|
|
||
|
group 'nl.voidcorp.depinj'
|
||
|
version '0.1.0'
|
||
|
|
||
|
sourceCompatibility = 1.8
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
||
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||
|
implementation 'org.jetbrains.kotlin:kotlin-reflect'
|
||
|
|
||
|
}
|
||
|
|
||
|
compileKotlin {
|
||
|
kotlinOptions.jvmTarget = "1.8"
|
||
|
}
|
||
|
compileTestKotlin {
|
||
|
kotlinOptions.jvmTarget = "1.8"
|
||
|
}
|
||
|
|
||
|
bintray {
|
||
|
user = System.getenv('BINTRAY_USER')
|
||
|
key = System.getenv('BINTRAY_KEY')
|
||
|
pkg {
|
||
|
repo = 'generic'
|
||
|
name = 'gradle-project'
|
||
|
userOrg = 'bintray_user'
|
||
|
licenses = ['Apache-2.0']
|
||
|
vcsUrl = 'https://github.com/bintray/gradle-bintray-plugin.git'
|
||
|
}
|
||
|
|
||
|
}
|