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

View file

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