Skip to content

Commit d64113a

Browse files
committed
First commit, rebuild library
0 parents  commit d64113a

File tree

80 files changed

+3456
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+3456
-0
lines changed

.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx

.idea/.name

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/Project.xml

+113
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 29
5+
buildToolsVersion "25.0.2"
6+
7+
defaultConfig {
8+
minSdkVersion 19
9+
targetSdkVersion 29
10+
versionCode 1
11+
versionName "1.0"
12+
13+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
14+
15+
}
16+
buildTypes {
17+
release {
18+
minifyEnabled false
19+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
20+
}
21+
}
22+
}
23+
24+
dependencies {
25+
implementation fileTree(dir: 'libs', include: ['*.jar'])
26+
27+
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', {
28+
exclude group: 'com.android.support', module: 'support-annotations'
29+
})
30+
31+
//noinspection GradleCompatible
32+
implementation 'com.android.support:appcompat-v7:28.0.0'
33+
34+
testImplementation 'junit:junit:4.13'
35+
36+
implementation 'commons-codec:commons-codec:20041127.091804'
37+
38+
compileOnly 'org.projectlombok:lombok:1.18.12'
39+
annotationProcessor 'org.projectlombok:lombok:1.18.12'
40+
41+
compileOnly 'org.glassfish:javax.annotation:10.0-b28'
42+
implementation name: 'jackson-annotations', version: '2.11.0.rc1', group: 'com.fasterxml.jackson.core'
43+
implementation name: 'jackson-core', version: '2.11.0.rc1', group: 'com.fasterxml.jackson.core'
44+
45+
implementation(
46+
[group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.11.0.rc1']
47+
)
48+
49+
implementation 'com.squareup.okhttp3:okhttp:4.5.0'
50+
}

app/proguard-rules.pro

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
package com.opendev.cn.instagram4android;
2+
3+
import android.content.Context;
4+
5+
import androidx.test.platform.app.InstrumentationRegistry;
6+
import androidx.test.ext.junit.runners.AndroidJUnit4;
7+
8+
import org.junit.Test;
9+
import org.junit.runner.RunWith;
10+
11+
import static org.junit.Assert.*;
12+
13+
/**
14+
* Instrumented test, which will execute on an Android device.
15+
*
16+
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
17+
*/
18+
@RunWith(AndroidJUnit4.class)
19+
public class ExampleInstrumentedTest {
20+
@Test
21+
public void useAppContext() {
22+
// Context of the app under test.
23+
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
24+
25+
assertEquals("com.opendev.cn.instagram4android", appContext.getPackageName());
26+
}
27+
}

app/src/main/AndroidManifest.xml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.opendev.cn.instagram4android">
3+
4+
<!-- <application-->
5+
<!-- android:allowBackup="true"-->
6+
<!-- android:icon="@mipmap/ic_launcher"-->
7+
<!-- android:label="@string/app_name"-->
8+
<!-- android:roundIcon="@mipmap/ic_launcher_round"-->
9+
<!-- android:supportsRtl="true"-->
10+
<!-- android:theme="@style/AppTheme" />-->
11+
</manifest>

0 commit comments

Comments
 (0)