2021-10-13 03:02:49 +05:30
|
|
|
buildscript {
|
|
|
|
ext.kotlin_version = '1.5.10'
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.android.tools.build:gradle:4.2.1'
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-13 02:05:46 +05:30
|
|
|
plugins {
|
2021-10-13 03:02:49 +05:30
|
|
|
id "org.jetbrains.kotlin.jvm" version "$kotlin_version"
|
2021-10-13 02:05:46 +05:30
|
|
|
id 'java-library'
|
|
|
|
}
|
|
|
|
|
2021-10-13 03:02:49 +05:30
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
2021-10-15 00:43:17 +05:30
|
|
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs += [
|
|
|
|
"-Xuse-experimental=kotlin.ExperimentalUnsignedTypes",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2021-10-13 03:02:49 +05:30
|
|
|
}
|
|
|
|
|
2021-10-13 02:05:46 +05:30
|
|
|
dependencies {
|
|
|
|
implementation platform('org.jetbrains.kotlin:kotlin-bom')
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
2021-10-13 03:02:49 +05:30
|
|
|
implementation "net.java.dev.jna:jna:5.8.0"
|
2021-10-13 02:05:46 +05:30
|
|
|
implementation "junit:junit:4.13.2"
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
2021-10-15 00:43:17 +05:30
|
|
|
}
|