-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Niklas Bachmann
authored and
Niklas Bachmann
committed
Jul 27, 2018
1 parent
481b6cd
commit 70713d6
Showing
378 changed files
with
4,480 additions
and
12,880 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,94 @@ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
maven { | ||
url "https://artifactory.9elements.com/artifactory/imgly" | ||
} | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:2.3.2' | ||
classpath 'com.mutualmobile.gradle.plugins:dexinfo:0.1.2' | ||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' | ||
} | ||
} | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'com.mutualmobile.gradle.plugins.dexinfo' | ||
apply plugin: 'com.neenbedankt.android-apt' | ||
|
||
repositories { | ||
jcenter() | ||
apply plugin: 'kotlin-android' | ||
|
||
apply plugin: 'kotlin-android-extensions' | ||
|
||
apply plugin: 'ly.img.android.pesdk' | ||
|
||
pesdkConfig { | ||
|
||
licencePath "LICENSE" // Name of the Licence file in the asset folder | ||
|
||
// Insert the latest SDK version here. You will find it here https://github.com/imgly/pesdk-android-demo/releases | ||
pesdkVersion "$pesdk_version" | ||
|
||
// If you use another supportLibVersion ('com.android.support'), change this version here to update your own supportLibVersion | ||
supportLibVersion "27.1.1" | ||
|
||
// Define the modules you are need | ||
modules { | ||
// Add all the backend modules you need | ||
include 'ly.img.android.pesdk.operation:text' | ||
include 'ly.img.android.pesdk.operation:frame' | ||
include 'ly.img.android.pesdk.operation:focus' | ||
include 'ly.img.android.pesdk.operation:brush' | ||
include 'ly.img.android.pesdk.operation:camera' | ||
include 'ly.img.android.pesdk.operation:filter' | ||
include 'ly.img.android.pesdk.operation:sticker' | ||
include 'ly.img.android.pesdk.operation:overlay' | ||
include 'ly.img.android.pesdk.operation:adjustment' | ||
include 'ly.img.android.pesdk.operation:text-design' | ||
include 'ly.img.android.pesdk.operation:abstract-sticker' | ||
|
||
// Add all the UI modules you are need | ||
include 'ly.img.android.pesdk.ui.mobile_ui:core' | ||
include 'ly.img.android.pesdk.ui.mobile_ui:text' | ||
include 'ly.img.android.pesdk.ui.mobile_ui:focus' | ||
include 'ly.img.android.pesdk.ui.mobile_ui:frame' | ||
include 'ly.img.android.pesdk.ui.mobile_ui:brush' | ||
include 'ly.img.android.pesdk.ui.mobile_ui:filter' | ||
include 'ly.img.android.pesdk.ui.mobile_ui:camera' | ||
include 'ly.img.android.pesdk.ui.mobile_ui:sticker' | ||
include 'ly.img.android.pesdk.ui.mobile_ui:overlay' | ||
include 'ly.img.android.pesdk.ui.mobile_ui:transform' | ||
include 'ly.img.android.pesdk.ui.mobile_ui:text-design' | ||
include 'ly.img.android.pesdk.ui.mobile_ui:adjustment' | ||
|
||
// Add the serializer if you need | ||
include 'ly.img.android.pesdk:serializer' | ||
|
||
// Add asset packs if you need | ||
include 'ly.img.android.pesdk.assets:font-basic' | ||
include 'ly.img.android.pesdk.assets:frame-basic' | ||
include 'ly.img.android.pesdk.assets:overlay-basic' | ||
include 'ly.img.android.pesdk.assets:sticker-shapes' | ||
include 'ly.img.android.pesdk.assets:sticker-emoticons' | ||
} | ||
} | ||
|
||
android { | ||
compileSdkVersion 25 | ||
buildToolsVersion '25.0.2' | ||
compileSdkVersion 27 | ||
buildToolsVersion '27.0.3' | ||
|
||
defaultConfig { | ||
applicationId "com.photoeditorsdk.android.app" | ||
minSdkVersion 15 | ||
targetSdkVersion 25 | ||
minSdkVersion 16 | ||
targetSdkVersion 27 | ||
versionCode 1 | ||
versionName "5.1.5" | ||
renderscriptTargetApi 23 | ||
renderscriptSupportModeEnabled true | ||
versionName "1.0" | ||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
resValue 'string', 'pesdk_version', "v$pesdk_version" | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled true | ||
shrinkResources true | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
|
||
debug { | ||
minifyEnabled true | ||
shrinkResources true | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
|
||
compile 'ly.img.android:photo-editor-sdk:5.1.5' | ||
apt 'ly.img.android:build-processor:5.1.5' | ||
|
||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
implementation 'com.android.support:appcompat-v7:27.1.1' | ||
implementation 'com.android.support.constraint:constraint-layout:1.1.2' | ||
testImplementation 'junit:junit:4.12' | ||
androidTestImplementation 'com.android.support.test:runner:1.0.2' | ||
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in /Users/svennahler/developer/ly.img.android.sdk/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the proguardFiles | ||
# directive in build.gradle. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting 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 *; | ||
#} | ||
|
||
-keep class android.support.v8.renderscript.** { *; } | ||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile |
13 changes: 0 additions & 13 deletions
13
app/src/androidTest/java/com/photoeditorsdk/android/app/ApplicationTest.java
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
app/src/androidTest/java/com/photoeditorsdk/android/app/ExampleInstrumentedTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.photoeditorsdk.android.app | ||
|
||
import android.support.test.InstrumentationRegistry | ||
import android.support.test.runner.AndroidJUnit4 | ||
|
||
import org.junit.Test | ||
import org.junit.runner.RunWith | ||
|
||
import org.junit.Assert.* | ||
|
||
/** | ||
* Instrumented test, which will execute on an Android device. | ||
* | ||
* See [testing documentation](http://d.android.com/tools/testing). | ||
*/ | ||
@RunWith(AndroidJUnit4::class) | ||
class ExampleInstrumentedTest { | ||
@Test | ||
fun useAppContext() { | ||
// Context of the app under test. | ||
val appContext = InstrumentationRegistry.getTargetContext() | ||
assertEquals("com.photoeditorsdk.android.app", appContext.packageName) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.photoeditorsdk.android.app" > | ||
package="com.photoeditorsdk.android.app"> | ||
|
||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> | ||
<uses-permission android:name="android.permission.INTERNET"/> | ||
|
||
<protected-broadcast android:name="android.intent.action.MEDIA_MOUNTED" /> | ||
|
||
<application | ||
android:name="com.photoeditorsdk.android.app.Application" | ||
android:allowBackup="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme" > | ||
<activity | ||
android:name="com.photoeditorsdk.android.app.MainActivity" | ||
android:label="@string/app_name" > | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:supportsRtl="true" | ||
android:theme="@style/AppTheme"> | ||
<activity android:name=".MainActivity" | ||
android:label="@string/app_name"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | ||
<category android:name="android.intent.category.LAUNCHER"/> | ||
</intent-filter> | ||
</activity> | ||
|
||
</application> | ||
|
||
</manifest> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"owner":"Imgly Inc.","version":"2.1","enterprise_license":true,"available_actions":["magic","filter","transform","sticker","text","adjustments","brush","focus","frames","camera"],"features":["adjustment","filter","focus","overlay","transform","text","sticker","frame","brush","camera"],"platform":"Android","app_identifiers":["com.photoeditorsdk.android.app"],"api_token":"-lIPN9NGKvlJBI90zPVrFg","domains":["https://api.photoeditorsdk.com"],"issued_at":1502190783,"expires_at":null,"signature":"kkZDb/uHVuSnv/7KuhCnbQvXV5twR5JoK1wy4YeMzGiKmFdY0IhBpJMP4Ag3mbK5/Vbl7FR1358gTt3w34athuVtO/4zerfGSvTKru0Ebv8WzKTpPwe+2DkbFB0P2euhuoUtyGpPAN9FMevfCppSzSP9QPKj9kOkhCCVzvEo+05ma0gjaicMMfxzHDrI3/+0oV8yfasuI8BhX9VtsLrZ8lAOMHlB5ZZ4/A5TVj3knqeWY6/uNUbnL5j9rGIDADvrnTjc/BwXXvgS10nmMVb0DaY4UoXTzwRbiUS8tFl18zQmR1PMBphfdwsGE1w1lINbYybuW++Nc6OK+6q1ijsFF+c9SnlJX35DbH2ax3KLQFkeuAc32eDb4gz1mibPH3g8lDPBc6v/L85AO7osm/3TxWgHCE/nLEUh4igdU9KxGDrScTNo7osyGYM65dLoKz+cr45mPIWDeieL2r13g0h4KmUbFGIokEXEx7dnqU3lloKhLMhUh90dcVHHIXv5SOuILHk5t/BEbOEW7mMdlVNhT+zMeoET6JJA6tNX/0+nimP4jDYA+SXugDICfkOQA896pwJ0rDuGkBbxSO2tlvowuGmGaY6caSGZGQDHbIuKD16RlmG0O/7RUMyccOUYxSy1P+G/b7/I8lip/3qJWPyT92NYX7wIt7vBkxDB3f148JY="} | ||
{"owner":"Imgly","version":"2.1","enterprise_license":false,"available_actions":["magic","filter","transform","sticker","text","adjustments","brush","focus","frames","camera"],"features":["adjustment","filter","focus","overlay","transform","text","sticker","frame","brush","camera","textdesign","library","export"],"platform":"Android","app_identifiers":["com.photoeditorsdk.android.app"],"api_token":"-lIPN9NGKvlJBI90zPVrFg","domains":["https://api.photoeditorsdk.com"],"issued_at":1528984457,"expires_at":null,"signature":"h3Q0G/1HZg+t9WXXYQ+b6YSbGHc3UOq1ktOci5tNf4xTV+A7igkTPCYbxSIELZUyAr+9idZNt8Z1thIVQ+3Kzaq7kCzaDgl+vHAglrxHTZuscg8gPjSGrfXWUeUNA0PZUXY72q5DYVc8BRaTrCdnIfZPScnvi1QmV/+M/ao2VGq98/Mu8jb4jHXpj3f/zTlsaBwUgLFCerR2nEYm8m0cpjxuGu1DSIKxCC8JgTxhPLC+w8LS0+gSlfps69lVUap7VyAj9DWCARQDfeHSAnokYzvTu0GL7xglCWuZbutaVezA//oWaa0qIDY66tOXBKosULRp2VqShATmfbvnIueAkEhWZSyMX+G6MRI1VYHtI4Q5YhMQLSWFvsIP6oVLJs+iiMpUXtcglGp85TGY9x2fQcJuWAbvFm7vYnTJqTHyiU81uZF+goC/N8zLrn8gORreOmdvDqQ7Sff65k8I9+D6cv7gtZGw4mxGohbMGqPuTFCXlbsCCA/58KTYJoqme/wPxqB0yhBE9VBU3W/y3TFjsv5ZmhZH1YheiN/fTOlnwSij8ZeaFCLtkNcfSmS7EWhPDWfZxptiRS7/BJqVRYxRwRc4W3KWMc30EiWCm0F+WDW64z0ayLH0g8KA56eaDR/8P1P0TNPJh8uS9t56HmvBmEU5pDrVm+BQRP3oPf3OFss="} |
14 changes: 0 additions & 14 deletions
14
app/src/main/java/com/photoeditorsdk/android/app/Application.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.