Merge branch 'iamjazzar/rosetta' into internal lib
parent
f0737caaae
commit
ce82c0aa93
@ -0,0 +1,33 @@
|
||||
|
||||
# files for the dex VM
|
||||
*.dex
|
||||
|
||||
# Java class files
|
||||
*.class
|
||||
|
||||
# generated files
|
||||
bin/
|
||||
gen/
|
||||
|
||||
# Local configuration file (sdk path, etc)
|
||||
local.properties
|
||||
|
||||
# Windows thumbnail db
|
||||
Thumbs.db
|
||||
|
||||
# OSX files
|
||||
.DS_Store
|
||||
|
||||
# Eclipse project files
|
||||
.classpath
|
||||
.project
|
||||
|
||||
# Android Studio
|
||||
*.iml
|
||||
.idea
|
||||
#.idea/workspace.xml - remove # and delete .idea if it better suit your needs.
|
||||
.gradle
|
||||
build/
|
||||
|
||||
#NDK
|
||||
obj/
|
@ -0,0 +1,85 @@
|
||||
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'
|
||||
|
||||
publishedGroupId = 'com.ahmedjazzar.rosetta'
|
||||
libraryName = 'Rosetta'
|
||||
artifact = 'rosetta'
|
||||
|
||||
libraryDescription = 'Android library that lets your app supporting multiple languages ' +
|
||||
'without any concern from you as a developer.'
|
||||
|
||||
siteUrl = 'https://github.com/ahmedaljazzar/rosetta'
|
||||
gitUrl = 'https://github.com/ahmedaljazzar/rosetta.git'
|
||||
|
||||
libraryVersion = '1.0.1'
|
||||
|
||||
developerId = 'ahmedaljazzar'
|
||||
developerName = 'Ahmed Jazzar'
|
||||
developerEmail = 'me@ahmedjazzar.com'
|
||||
|
||||
licenseName = 'MIT'
|
||||
licenseUrl = 'https://opensource.org/licenses/MIT'
|
||||
allLicenses = ["MIT"]
|
||||
}
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.2.0'
|
||||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
|
||||
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
|
||||
}
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 32
|
||||
buildToolsVersion "23.0.3"
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 32
|
||||
versionCode 3
|
||||
versionName "1.0.1"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
testImplementation 'org.mockito:mockito-core:1.10.19'
|
||||
implementation 'com.google.android.material:material:1.6.0'
|
||||
implementation 'androidx.appcompat:appcompat:1.4.1'
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Automatically generated file. DO NOT MODIFY
|
||||
*/
|
||||
package com.ahmedjazzar.rosetta;
|
||||
|
||||
public final class BuildConfig {
|
||||
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
||||
public static final String LIBRARY_PACKAGE_NAME = "com.ahmedjazzar.rosetta";
|
||||
public static final String BUILD_TYPE = "debug";
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
# TODO: Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in /Users/ahmedjazzar/Library/Android/sdk/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the proguardFiles
|
||||
# directive in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
@ -0,0 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.ahmedjazzar.rosetta">
|
||||
|
||||
<application android:supportsRtl="true" />
|
||||
</manifest>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="language">Language</string>
|
||||
<string name="ok">Ok</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
</resources>
|
Loading…
Reference in New Issue