Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/build-gradle-app.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, which, gradle, fetchurl, buildEnv, runCommand }:

args@{ name, src, platformVersions ? [ "8" ]
, buildToolsVersions ? [ "30.0.2" ]
, buildToolsVersions ? [ "35.0.0" ]
, useGoogleAPIs ? false, useGooglePlayServices ? false
, release ? false, keyStore ? null, keyAlias ? null
, keyStorePassword ? null, keyAliasPassword ? null
Expand Down
16 changes: 4 additions & 12 deletions android/build.gradle.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,11 @@ buildscript {
}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:8.13.0'
${googleServicesClasspath}
}
}

task proguard(type: proguard.gradle.ProGuardTask) {
configuration 'proguard.txt'

// injars 'build/libs/proguard-gradle-example.jar'
// outjars 'build/libs/proguard-gradle-example.out.jar'

}

allprojects {
repositories {
mavenLocal {
Expand All @@ -45,7 +37,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 30
buildToolsVersion '30.0.2'
buildToolsVersion '35.0.0'

lintOptions {
checkReleaseBuilds false
Expand All @@ -67,6 +59,8 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
}

namespace "${applicationId}"

defaultConfig {
applicationId "${applicationId}"
minSdkVersion 21
Expand All @@ -91,15 +85,13 @@ android {
buildTypes {
release {
minifyEnabled false
useProguard false
zipAlignEnabled true
${if releaseKey == null then "" else ''
signingConfig signingConfigs.release
''}
}
debug {
minifyEnabled false
useProguard false
debuggable true
}
}
Expand Down
Loading