Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1720d391 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

notes: add kotlin support

parent b7ed86a8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
apply plugin: 'com.android.application'
apply plugin: 'org.jetbrains.kotlin.android'

def buildDate = { ->
    return new Date().format('yyyyMMddHHmmss')
@@ -115,10 +116,14 @@ android {
        disable 'MissingTranslation'
    }
    namespace 'it.niedermann.owncloud.notes'
    kotlinOptions {
        jvmTarget = '11'
    }

}

dependencies {
    implementation 'androidx.core:core-ktx:1.10.1'
    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.6'

    // Nextcloud SSO
+4 −0
Original line number Diff line number Diff line
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        kotlin_version = '1.9.24'
    }
    repositories {
        mavenCentral()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.3.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files