File tree 3 files changed +35
-10
lines changed
3 files changed +35
-10
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ if (keystorePropertiesFile.exists()) {
7
7
buildscript {
8
8
repositories {
9
9
google()
10
- jcenter ()
10
+ mavenCentral ()
11
11
}
12
12
13
13
dependencies {
14
- classpath ' com.android.tools.build:gradle:4.1 .0'
14
+ classpath ' com.android.tools.build:gradle:8.3 .0'
15
15
}
16
16
}
17
17
@@ -22,7 +22,6 @@ repositories {
22
22
maven {
23
23
url " https://maven.google.com"
24
24
}
25
- jcenter()
26
25
}
27
26
28
27
dependencies {
@@ -33,7 +32,8 @@ dependencies {
33
32
}
34
33
35
34
android {
36
- compileSdkVersion 30
35
+ namespace = ' mn.tck.semitone'
36
+ compileSdkVersion 34
37
37
ndkVersion ' 22.0.7026061'
38
38
39
39
lintOptions {
@@ -43,9 +43,9 @@ android {
43
43
defaultConfig {
44
44
applicationId " mn.tck.semitone"
45
45
minSdkVersion 16
46
- targetSdkVersion 30
47
- versionCode 4
48
- versionName " 1.3"
46
+ targetSdkVersion 34
47
+ versionCode 5
48
+ versionName " 1.3.1 "
49
49
externalNativeBuild {
50
50
cmake {
51
51
arguments " -DANDROID_PLATFORM=android-16"
Original file line number Diff line number Diff line change
1
+ { pkgs ? import <nixpkgs> { } } :
2
+ with pkgs ;
3
+ let
4
+ buildToolsVersion = "34.0.0" ;
5
+ cmakeVersion = "3.22.1" ;
6
+ androidComposition = androidenv . composeAndroidPackages {
7
+ includeEmulator = false ;
8
+ includeSources = false ;
9
+ includeSystemImages = false ;
10
+ useGoogleAPIs = false ;
11
+ useGoogleTVAddOns = false ;
12
+ includeNDK = true ;
13
+ ndkVersions = [ "22.0.7026061" ] ;
14
+ platformVersions = [ "34" ] ;
15
+ buildToolsVersions = [ buildToolsVersion ] ;
16
+ cmakeVersions = [ cmakeVersion ] ;
17
+ } ;
18
+ in mkShell rec {
19
+ ANDROID_SDK_ROOT = "${ androidComposition . androidsdk } /libexec/android-sdk" ;
20
+ ANDROID_NDK_ROOT = "${ ANDROID_SDK_ROOT } /ndk-bundle" ;
21
+ GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride=${ ANDROID_SDK_ROOT } /build-tools/${ buildToolsVersion } /aapt2" ;
22
+ shellHook = ''
23
+ export PATH="$(echo "$ANDROID_SDK_ROOT/cmake/${ cmakeVersion } ".*/bin):$PATH"
24
+ '' ;
25
+ }
Original file line number Diff line number Diff line change 1
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" mn.tck.semitone" >
1
+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
3
2
<uses-permission android : name =" android.permission.RECORD_AUDIO" />
4
3
<application android : label =" @string/app_name"
5
4
android : icon =" @mipmap/ic_launcher"
6
5
android : theme =" @style/SemitoneTheme"
7
6
android : allowBackup =" true" >
8
7
<activity android : name =" .MainActivity"
9
- android : label =" @string/app_name" >
8
+ android : label =" @string/app_name"
9
+ android : exported =" false" >
10
10
<intent-filter >
11
11
<action android : name =" android.intent.action.MAIN" />
12
12
<category android : name =" android.intent.category.LAUNCHER" />
You can’t perform that action at this time.
0 commit comments