mirror of
https://github.com/czp3009/bilibili-api.git
synced 2025-02-19 20:50:28 +08:00
36 lines
643 B
Groovy
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
|
|
}
|