bilibili-api/build.gradle
2019-02-15 18:15:47 +08:00

36 lines
643 B
Groovy

buildscript {
ext {
kotlin_version = '1.3.21'
jvm_target = JavaVersion.VERSION_1_8
}
repositories {
gradlePluginPortal()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
group = 'com.hiczp'
version = '0.1.0'
description = 'Bilibili Android client API library for Kotlin'
apply plugin: 'kotlin'
repositories {
mavenCentral()
}
//kotlin
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
}
compileKotlin {
kotlinOptions.jvmTarget = jvm_target
}
compileTestKotlin {
kotlinOptions.jvmTarget = jvm_target
}