diff --git a/LEGALS.md b/LEGALS.md new file mode 100644 index 0000000..1cb249f --- /dev/null +++ b/LEGALS.md @@ -0,0 +1,15 @@ +# LEGALS + +## Fox's Magisk Module Manager +- Maintained: Yes + - Maintainers + - [Fox2Code](https://github.com/Fox2Code) + - [androidacybot](https://github.com/androidacybot) +- License: [ LGPL-3.0 license](https://github.com/Fox2Code/FoxMagiskModuleManager/blob/master/LICENCE) + +## Rosetta ([Fork](https://github.com/iamjazzar/rosetta)) +- Maintained: No + - Maintainers + - [iamjazzar](https://github.com/iamjazzar) + - Others unknown +- License: [ MIT license](https://github.com/iamjazzar/rosetta/blob/master/LICENSE) diff --git a/app/build.gradle b/app/build.gradle index 8fc2217..91cb9fa 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -71,7 +71,10 @@ android { } aboutLibraries { - additionalLicenses = ["LGPL_3_0_only"] + additionalLicenses = [ + "LGPL_3_0_only", + "rosetta" + ] } configurations { diff --git a/rosetta/build.gradle b/rosetta/build.gradle index 2b6362d..5b67507 100644 --- a/rosetta/build.gradle +++ b/rosetta/build.gradle @@ -1,25 +1,6 @@ apply plugin: 'com.android.library' ext { - // Legal uses - groupIdBase = "com.ahmedjazzar.rosetta" - - POM_INCEPTION_YEAR = "2016" - POM_PACKAGING = "aar" - - POM_URL = "https://github.com/iamjazzar/rosetta" - POM_SCM_URL = "https://github.com/iamjazzar/rosetta" - POM_SCM_CONNECTION = "scm:git@github.com:iamjazzar/rosetta.git" - POM_SCM_DEV_CONNECTION = "scm:git@github.com:iamjazzar/rosetta.git" - - POM_LICENCE_NAME = "MIT License" - POM_LICENCE_URL = "https://github.com/iamjazzar/rosetta/blob/master/LICENSE" - POM_LICENCE_DIST = "repo" - - POM_DEVELOPER_ID = "ahmedaljazzar" - POM_DEVELOPER_NAME = "Ahmed Jazzar" - POM_DEVELOPER_URL = "https://github.com/iamjazzar" - bintrayRepo = 'maven' bintrayName = 'Rosetta' diff --git a/rosetta/gradle.properties b/rosetta/gradle.properties new file mode 100644 index 0000000..2649381 --- /dev/null +++ b/rosetta/gradle.properties @@ -0,0 +1,23 @@ +# Project-wide Gradle settings. +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. More details, visit +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects +# org.gradle.parallel=true +# AndroidX package structure to make it clearer which packages are bundled with the +# Android operating system, and which are packaged with your app"s APK +# https://developer.android.com/topic/libraries/support-library/androidx-rn +android.useAndroidX=true +# Automatically convert third-party libraries to use AndroidX +android.enableJetifier=true + +# Fox builds props mods +org.gradle.parallel=true +android.enableR8.fullMode=true diff --git a/rosetta/src/main/java/com/ahmedjazzar/rosetta/LanguagesListDialogFragment.java b/rosetta/src/main/java/com/ahmedjazzar/rosetta/LanguagesListDialogFragment.java index 97991c3..b141e36 100644 --- a/rosetta/src/main/java/com/ahmedjazzar/rosetta/LanguagesListDialogFragment.java +++ b/rosetta/src/main/java/com/ahmedjazzar/rosetta/LanguagesListDialogFragment.java @@ -1,4 +1,3 @@ - package com.ahmedjazzar.rosetta; import android.app.Dialog; diff --git a/rosetta/src/main/java/com/ahmedjazzar/rosetta/Logger.java b/rosetta/src/main/java/com/ahmedjazzar/rosetta/Logger.java index 3ea6fa2..ad40a69 100644 --- a/rosetta/src/main/java/com/ahmedjazzar/rosetta/Logger.java +++ b/rosetta/src/main/java/com/ahmedjazzar/rosetta/Logger.java @@ -9,7 +9,7 @@ import android.util.Log; class Logger { - private String mTag; + private final String mTag; Logger(String tag) { this.mTag = tag;