30 lines
762 B
Groovy
30 lines
762 B
Groovy
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
ext.kotlin_version = '2.0.0'
|
|
// ext.kotlin_version = '1.9.24'
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath 'com.android.tools.build:gradle:8.2.2'
|
|
// classpath "gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.7.1"
|
|
classpath 'org.codehaus.groovy:groovy-xml:3.0.19'
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
// id 'io.realm.kotlin' version '1.16.0' apply false
|
|
id 'io.realm.kotlin' version '2.0.0' apply false
|
|
// id("io.realm.kotlin")
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
}
|