gradle cleanup

This commit is contained in:
Milos Kozak 2023-08-27 13:55:51 +02:00
parent e9ba68868c
commit 7eaf7c21f4
2 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
@ -90,7 +92,7 @@ allprojects {
maven { url "https://maven.google.com" }
maven { url 'https://jitpack.io' }
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
tasks.withType(KotlinCompile).all {
kotlinOptions {
freeCompilerArgs = [
'-opt-in=kotlin.RequiresOptIn',

View file

@ -1,7 +1,9 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-allopen'
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-kapt'
id 'kotlin-allopen'
}
apply from: "${project.rootDir}/core/main/android_dependencies.gradle"
apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle"