Skip to content

Commit

Permalink
Revert back from the Kotlin Gradle DSL
Browse files Browse the repository at this point in the history
Do not use the Kotlin Gradle DSL as F-Droid does not support it:
https://gitlab.com/fdroid/fdroidserver/issues/613
  • Loading branch information
fornwall committed Aug 4, 2019
1 parent 6f03348 commit 741f9d2
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 42 deletions.
28 changes: 28 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
plugins {
id 'com.android.application'
id 'kotlin-android'
}

android {
compileSdkVersion 28

defaultConfig {
applicationId "com.termux.styling"
minSdkVersion 21
targetSdkVersion 28
versionCode 25
versionName "0.25"
}

buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}

dependencies {
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
41 changes: 0 additions & 41 deletions app/build.gradle.kts

This file was deleted.

5 changes: 4 additions & 1 deletion build.gradle.kts → build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
buildscript {
ext.kotlin_version = '1.3.41'

repositories {
google()
jcenter()
}

dependencies {
classpath("com.android.tools.build:gradle:3.4.2")
classpath(kotlin("gradle-plugin", "1.3.41"))
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
}
}

Expand Down
File renamed without changes.

0 comments on commit 741f9d2

Please sign in to comment.