Skip to content

Commit 46b8faa

Browse files
committed
upgrade: gradle version
1 parent 205b4e4 commit 46b8faa

File tree

22 files changed

+661
-0
lines changed

22 files changed

+661
-0
lines changed

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
build
2+
3+
.DS_Store
4+
.idea
5+
6+
gradle-wrapper.jar
7+
/.gradle
8+
/captures/
9+
/gradlew
10+
/gradlew.bat
11+
/local.properties
12+
GeneratedPluginRegistrant.java
13+
14+
# Remember to never publicly share your keystore.
15+
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
16+
key.properties
17+
**/*.keystore
18+
**/*.jks

app/build.gradle

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
plugins {
2+
id 'com.android.application'
3+
}
4+
5+
android {
6+
namespace 'com.oboard.ts'
7+
compileSdk 34
8+
9+
defaultConfig {
10+
applicationId "com.oboard.ts"
11+
minSdk 21
12+
targetSdk 34
13+
versionCode 11
14+
versionName "1.6.1"
15+
}
16+
17+
buildTypes {
18+
release {
19+
minifyEnabled false
20+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
21+
}
22+
}
23+
compileOptions {
24+
sourceCompatibility JavaVersion.VERSION_1_8
25+
targetCompatibility JavaVersion.VERSION_1_8
26+
}
27+
}
28+
29+
dependencies {
30+
implementation fileTree(dir: 'libs', include: ['*.jar'])
31+
}

app/proguard-rules.pro

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in C:\tools\adt-bundle-windows-x86_64-20131030\sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}

app/src/main/AndroidManifest.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.oboard.ts">
4+
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
5+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
6+
<uses-permission android:name="android.permission.WAKE_LOCK" />
7+
8+
<application
9+
android:allowBackup="true"
10+
android:icon="@mipmap/i"
11+
android:label="@string/name"
12+
android:theme="@style/AppTheme">
13+
<activity
14+
android:configChanges="orientation|screenSize"
15+
android:name=".MainActivity"
16+
android:launchMode="singleInstance"
17+
android:exported="true"
18+
android:alwaysRetainTaskState="true"
19+
android:label="@string/name">
20+
<intent-filter>
21+
<action android:name="android.intent.action.MAIN"/>
22+
<category android:name="android.intent.category.LAUNCHER"/>
23+
</intent-filter>
24+
</activity>
25+
</application>
26+
</manifest>

0 commit comments

Comments
 (0)