Delete xmodem module.

This commit is contained in:
dxl
2020-10-23 15:12:09 +08:00
parent 6198d7219f
commit 62a49eced1
14 changed files with 7 additions and 110 deletions
-1
View File
@@ -68,7 +68,6 @@ dependencies {
implementation project(path: ':pm3flasher')
implementation project(':pm3rdv4rrg')
implementation project(path: ':xmodem')
// The dep from TERMUX(A FullTerminal implements.)
implementation project(":termux-app")
@@ -18,7 +18,7 @@ import android.widget.ListView;
import android.widget.TextView;
import com.iobridges.com.Communication;
import com.proxgrind.xmodem.XModem128;
import cn.rrg.chameleon.xmodem.XModem128;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
@@ -1,4 +1,4 @@
package com.proxgrind.xmodem;
package cn.rrg.chameleon.xmodem;
import java.io.IOException;
import java.io.InputStream;
@@ -1,4 +1,4 @@
package com.proxgrind.xmodem;
package cn.rrg.chameleon.xmodem;
import java.io.IOException;
import java.io.InputStream;
@@ -1,4 +1,4 @@
package com.proxgrind.xmodem;
package cn.rrg.chameleon.xmodem;
import java.io.IOException;
import java.io.InputStream;
+2 -2
View File
@@ -1,6 +1,6 @@
#Fri Oct 23 14:41:30 CST 2020
#Fri Oct 23 15:04:20 CST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
+1 -2
View File
@@ -1,4 +1,3 @@
include ':app_main', ':chameleon', ':communication', ':libnfc_pn53x'
include ':pm3flasher', ':pm3rdv4rrg'
include ':xmodem', ':utils'
include ':pm3flasher', ':pm3rdv4rrg',':utils'
include ':termux-app', ':terminal-emulator', ':terminal-view'
-1
View File
@@ -1 +0,0 @@
/build
-33
View File
@@ -1,33 +0,0 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
minSdkVersion 19
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
View File
-21
View File
@@ -1,21 +0,0 @@
# Add project specific ProGuard rules here.
# 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
# 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 *;
#}
# 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
@@ -1,27 +0,0 @@
package com.proxgrind.xmodem;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.proxgrind.xmodem.test", appContext.getPackageName());
}
}
-2
View File
@@ -1,2 +0,0 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.proxgrind.xmodem" />
@@ -1,17 +0,0 @@
package com.proxgrind.xmodem;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}