Skip to content
Open
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
35 changes: 11 additions & 24 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
apply plugin: 'com.android.application'

repositories {
maven { url "http://www.atilika.org/nexus/content/repositories/atilika" }
maven { url "https://maven.google.com" }
google()
maven { url 'https://jitpack.io' }
}

Expand All @@ -13,32 +12,21 @@ android {
}
}

compileSdkVersion 26
buildToolsVersion "26.0.0"
compileSdkVersion 29
buildToolsVersion "26.0.3"
defaultConfig {
applicationId "com.quicklyric.romanizer"
minSdkVersion 15
targetSdkVersion 26
targetSdkVersion 29
versionCode 8
versionName "1.0.3"
}

signingConfigs {

release {
storeFile file('../../release.keystore')
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
}
}

buildTypes {
release {
buildConfigField "Boolean", "REPORT_CRASH", 'true'
useProguard true
minifyEnabled true
signingConfig signingConfigs.release
shrinkResources true
proguardFiles 'proguard-rules.pro', getDefaultProguardFile('proguard-android-optimize.txt')
}

Expand All @@ -64,11 +52,10 @@ android {
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:26.+'
compile 'me.xuender:unidecode:0.0.7'
compile 'com.github.geecko86:kuromoji:fix_issue_96-SNAPSHOT'
testCompile 'junit:junit:4.12'
compile 'com.cybozu.labs:langdetect:+'
compile 'ch.acra:acra:4.9.2'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'me.xuender:unidecode:0.0.7'
implementation 'com.github.geecko86:kuromoji:fix_issue_96-SNAPSHOT'
testImplementation 'junit:junit:4.13'
implementation 'com.cybozu.labs:langdetect:+'
implementation 'ch.acra:acra:4.9.2'
}
9 changes: 7 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
<manifest package="com.quicklyric.romanizer"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
xmlns:tools="http://schemas.android.com/tools"
xmlns:dist="http://schemas.android.com/apk/distribution">

<dist:module dist:instant="true" />
<uses-permission android:name="android.permission.INTERNET"/>

<application
android:name=".App"
android:allowBackup="true"
android:fullBackupContent="false"
android:icon="@mipmap/ic_launcher"
android:usesCleartextTraffic="true"
android:requestLegacyExternalStorage="true"
android:label="@string/app_name"
tools:ignore="GoogleAppIndexingWarning">
tools:ignore="GoogleAppIndexingWarning"
android:supportsRtl="true">

<receiver
android:name=".RomanisationBroadcastReceiver"
Expand Down
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
classpath 'com.android.tools.build:gradle:4.0.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
google()
}
}

Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m

# When configured, Gradle will run in incubating parallel mode.
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sat Jul 01 02:39:55 CEST 2017
#Thu Jun 11 17:28:23 CEST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
2 changes: 1 addition & 1 deletion local.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=/opt/android-sdk
sdk.dir=/opt/android-sdk