Compare commits

..

2 Commits

Author SHA1 Message Date
huangjielun a501232b49 update
3 years ago
huangjielun 85294c0acb 质量报告
3 years ago

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="app/build/generated/source/buildConfig/debug"/>
<classpathentry kind="src" path="app/src/main/java"/>
<classpathentry kind="lib" path="app/build/intermediates/compile_and_runtime_not_namespaced_r_class_jar/debug/R.jar"/>
<classpathentry kind="lib" path="app/build/intermediates/merged_java_res/debug/base.jar"/>
<classpathentry kind="lib" path="app/build/intermediates/project_dex_archive/debug/out/6be87a94442d2b8afadf938b2d2a05d2859a1208729216b9bf0c454c5fca49e1_1.jar"/>
<classpathentry kind="lib" path="gradle/wrapper/gradle-wrapper.jar"/>
<classpathentry kind="output" path="app/build/intermediates/javac/debug/classes"/>
</classpath>

@ -0,0 +1 @@
systemProp.sonar.host.url=http://localhost:9000

@ -1,28 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<runningDeviceTargetSelectedWithDropDown>
<Target>
<type value="RUNNING_DEVICE_TARGET" />
<deviceKey>
<Key>
<type value="VIRTUAL_DEVICE_PATH" />
<value value="C:\Users\huawei\.android\avd\Pixel_XL_API_33.avd" />
</Key>
</deviceKey>
</Target>
</runningDeviceTargetSelectedWithDropDown>
<targetSelectedWithDropDown>
<Target>
<type value="QUICK_BOOT_TARGET" />
<deviceKey>
<Key>
<type value="VIRTUAL_DEVICE_PATH" />
<value value="C:\Users\huawei\.android\avd\Pixel_XL_API_33.avd" />
<value value="D:\Android_new\avd\Pixel_XL_API_23_6.0_.avd" />
</Key>
</deviceKey>
</Target>
</targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2022-08-18T01:06:30.890110600Z" />
<timeTargetWasSelectedWithDropDown value="2022-08-29T08:37:12.820525200Z" />
</component>
</project>

@ -7,7 +7,8 @@
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="#JAVA_HOME" />
<option name="gradleHome" value="$USER_HOME$/.gradle/wrapper/dists/gradle-7.3.3-bin/6a41zxkdtcxs8rphpq6y0069z/gradle-7.3.3" />
<option name="gradleJvm" value="11" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />

@ -21,5 +21,10 @@
<option name="name" value="Google" />
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
</remote-repository>
<remote-repository>
<option name="id" value="MavenRepo" />
<option name="name" value="MavenRepo" />
<option name="url" value="https://repo.maven.apache.org/maven2/" />
</remote-repository>
</component>
</project>

@ -1,5 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DesignSurface">
<option name="filePathToZoomLevelMap">
<map>
<entry key="..\:/Android_new/Notes-master1/app/src/main/res/layout-sw600dp/note_edit.xml" value="0.1" />
<entry key="..\:/Android_new/Notes-master1/app/src/main/res/layout/account_dialog_title.xml" value="0.1" />
<entry key="..\:/Android_new/Notes-master1/app/src/main/res/layout/add_account_text.xml" value="0.1" />
<entry key="..\:/Android_new/Notes-master1/app/src/main/res/layout/note_edit.xml" value="0.1" />
<entry key="..\:/Android_new/Notes-master1/app/src/main/res/menu/call_note_edit.xml" value="0.1" />
</map>
</option>
</component>
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RenderSettings">
<option name="showDecorations" value="true" />
</component>
</project>

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="issues">
<option name="index">
<map>
<entry key="$PROJECT_DIR$/.gradle/7.3.3/gc.properties">
<value>
<set />
</value>
</entry>
<entry key="$PROJECT_DIR$/app/build.gradle">
<value>
<set />
</value>
</entry>
<entry key="$PROJECT_DIR$/build.gradle">
<value>
<set />
</value>
</entry>
<entry key="$PROJECT_DIR$/gradle/wrapper/gradle-wrapper.properties">
<value>
<set />
</value>
</entry>
<entry key="$PROJECT_DIR$/gradlew">
<value>
<set />
</value>
</entry>
<entry key="$PROJECT_DIR$/gradlew.bat">
<value>
<set />
</value>
</entry>
<entry key="$PROJECT_DIR$/gradlew.shell">
<value>
<set />
</value>
</entry>
<entry key="$PROJECT_DIR$/local.properties">
<value>
<set />
</value>
</entry>
</map>
</option>
</component>
</project>

@ -0,0 +1,3 @@
O
java:S59932"9Change the visibility of this constructor to "protected".(»Õí©

@ -0,0 +1,65 @@
t
java:S2293W"YReplace the type specification in this constructor call with the diamond operator ("<>").(ÑÓ<C391>¥üÿÿÿÿ
t
java:S2293`"YReplace the type specification in this constructor call with the diamond operator ("<>").(®ú÷õþÿÿÿÿ
t
java:S2293i"YReplace the type specification in this constructor call with the diamond operator ("<>").(êÝýÂþÿÿÿÿ
o
java:S2293q"YReplace the type specification in this constructor call with the diamond operator ("<>").(À—’¢
p
java:S2293Ï"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð
?
java:S1604ˆ"(Make this anonymous inner class a lambda(ά¯”
?
java:S1604Ý"(Make this anonymous inner class a lambda(××ß’
q
java:S1104N"VMake tvModified a static final constant or non-public and provide accessors if needed.(ƒëÔ£ÿÿÿÿÿ
r
java:S1104P"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(ªà¶±ûÿÿÿÿ
r
java:S1104R"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(“²<E2809C>Öúÿÿÿÿ
s
java:S1104T"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(ýãä¬üÿÿÿÿ
O
java:S3516ä"9Refactor this method to not always return the same value.(™Æl
n
java:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(©´ÖÛ
n
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.(ݨÁ±øÿÿÿÿ
W
java:S1874Ø"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(ѯ”<C2AF>
\
java:S1874þ"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(Ò£ú¿ÿÿÿÿÿ
O
java:S1874<18>"9Remove this use of "setTextAppearance"; it is deprecated.(½õË(
K
java:S2864˜"4Iterate over the "entrySet" instead of the "keySet".(­Ô‡ï
N
java:S1135¤"2Complete the task associated to this TODO comment.(Ùü§“ýÿÿÿÿ
8
java:S1116¸"Remove this empty statement.(ôŸŽìúÿÿÿÿ
X
java:S1126å"AReplace this if-then-else statement by a single return statement.(®ÎÚÉ
8
java:S1116"Remove this empty statement.(ôŸŽìúÿÿÿÿ
P
java:S1874ƒ"9Remove this use of "PreferenceManager"; it is deprecated.(ª¦úÅ
Z
java:S1874ƒ"CRemove this use of "getDefaultSharedPreferences"; it is deprecated.(ª¦úÅ
U
java:S1874À"9Remove this use of "setTextAppearance"; it is deprecated.(ÑëÊäüÿÿÿÿ
f
java:S1874È"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(œƒƒ©ùÿÿÿÿ
Q
java:S1874Î"5Remove this use of "onBackPressed"; it is deprecated.(<28>Ñàÿÿÿÿÿ
G
java:S1874Ï"0Remove this use of "getColor"; it is deprecated.(è¤ÔÃ
d
java:S3252Ñ"MUse static access with "android.text.Spanned" for "SPAN_INCLUSIVE_EXCLUSIVE".(ŸÍÃó
T
java:S1874Ç"=Remove this use of "EXTRA_SHORTCUT_INTENT"; it is deprecated.(·Ã°Ÿ
R
java:S1874È";Remove this use of "EXTRA_SHORTCUT_NAME"; it is deprecated.(ÒÀ‘ç
[
java:S1874Ê"DRemove this use of "EXTRA_SHORTCUT_ICON_RESOURCE"; it is deprecated.(§éǾ

@ -0,0 +1,5 @@
2
java:S2386+"Make this member "protected".(¤íÂX
n
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(®‘‡§øÿÿÿÿ

@ -0,0 +1,17 @@
e
java:S2095«"NUse try-with-resources or close this "FileOutputStream" in a "finally" clause.(ŠÀø¯
k java:S116w"VRename this field "TEXT_FORMAT" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ñ›–¼
i
java:S3776¨"RRefactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed.(œÃÁí
h
java:S3776Ý"RRefactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.(ì´ê
\
java:S2147°"ECombine this catch with the one at line 301, which has the same body.(ß<>È´
\
java:S2147Ð"ECombine this catch with the one at line 334, which has the same body.(ï­£Ä
] java:S899Ë"BDo something with the "boolean" value returned by "createNewFile".(Ð<>Íùÿÿÿÿ
?
java:S3398»"#Move this method into "TextExport".(¨ä¿ÿýÿÿÿÿ
9
java:S3398H"#Move this method into "TextExport".(…´<C2B4>

@ -0,0 +1,5 @@
M
java:S1135"2Complete the task associated to this TODO comment.(铨Üýÿÿÿÿ
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(ð«¦í

@ -0,0 +1,7 @@
\
java:S2259¹"@A "NullPointerException" could be thrown; "js" is nullable here.(±ú”§ýÿÿÿÿ
M
java:S1135""2Complete the task associated to this TODO comment.(Ööàìýÿÿÿÿ
i
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(´ÇŽª

@ -0,0 +1,9 @@
t
java:S2293*"YReplace the type specification in this constructor call with the diamond operator ("<>").(¡Ê©ëùÿÿÿÿ
\
java:S2259Š"@A "NullPointerException" could be thrown; "js" is nullable here.(Âä¢Ñúÿÿÿÿ
H
java:S1135 "2Complete the task associated to this TODO comment.(œ€º¸
r
java:S3923Ë"[Remove this conditional structure or edit its code blocks so that they're not all the same.(†ÈÔ¡

@ -0,0 +1,13 @@
u
java:S2293<18>"YReplace the type specification in this constructor call with the diamond operator ("<>").(Ÿ“<C5B8>…üÿÿÿÿ
u
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(Ÿ“<C5B8>…üÿÿÿÿ
u
java:S2293¢"YReplace the type specification in this constructor call with the diamond operator ("<>").(Ÿ“<C5B8>…üÿÿÿÿ
2
java:S2386."Make this member "protected".(êÝÐu
n
java:S3776å"RRefactor this method to reduce its Cognitive Complexity from 91 to the 15 allowed.(¸ŸêÉýÿÿÿÿ
h
java:S3776»"RRefactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.(ë®Æ

@ -0,0 +1,38 @@
h
8app/src/main/java/net/micode/notes/tool/BackupUtils.java,a\4\a446c87b1013132f8adaf83656b582028e8809af
?
settings.gradle,0\5\05efc8b1657769a27696d478ded1e95f38737233
:
.classpath,3\5\354079a72b91a4280407c16a36f47d1986fd85a5
8
.project,f\8\f8b41ce76d7b80d2b47e91b5f92c15f00eccf187
B
import-summary.txt,3\7\370b55b9ba807597d2aa123506d4091d242d570f
@
local.properties,0\7\0712df971a99ac4d2fccb8e0fb19f377f3374cca
k
;app/src/main/java/net/micode/notes/ui/NoteEditActivity.java,5\7\577f30d26378ec8a2bd2e4a43f3c79b3f04c402c
;
gradlew.bat,2\a\2a45a911a8f1836b0b6c5b758962572012d8f8c3
7
gradlew,5\b\5bbfa66edb4db3c7c33c5181f43510990d3307f9
<
build.gradle,f\0\f07866736216be0ee2aba49e392191aeae700a35
X
(gradle/wrapper/gradle-wrapper.properties,f\b\fbe448ebfc3eb2d4e308f6b8b043666f5b57235e
k
;app/src/main/java/net/micode/notes/gtask/data/MetaData.java,c\1\c182d0c9c237ea8a46a92ccaae9bb5c751923a88
g
7app/src/main/java/net/micode/notes/gtask/data/Node.java,3\a\3aac5305cb73bfbdeb8078cd264d04323fa80e92
j
:app/src/main/java/net/micode/notes/gtask/data/SqlData.java,9\3\934a4e2abf19d28a53f6aeb1dcd99248c44b6892
j
:app/src/main/java/net/micode/notes/gtask/data/SqlNote.java,f\1\f1226eeacd46c914d51f3d1a6d6f27377490d2a4
g
7app/src/main/java/net/micode/notes/gtask/data/Task.java,d\1\d187f1271655c3d91661a39fe6de395b6a9f290a
k
;app/src/main/java/net/micode/notes/gtask/data/TaskList.java,e\0\e094aec5c3e1b6f44539adff3114f5a1ad603ddc
@
app/build.gradle,f\4\f4a01d6a4fcb971362ec00a83903fd3902f52164

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Notes-master1</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

@ -1,9 +1,12 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 32
compileSdk 33
buildToolsVersion "33.0.0"
useLibrary 'org.apache.http.legacy'
lintOptions {
abortOnError false
}
defaultConfig {
@ -19,3 +22,20 @@ android {
}
}
}
apply plugin: 'org.sonarqube'
sonarqube {
properties {
property "sonar.host.url", "http://localhost:9000" //sonar
property "sonar.login", "admin" // sonar
property "sonar.password", "admin" // sonar
property "sonar.sourceEncoding", "UTF-8"
property "sonar.projectKey", "xiaomi" //sonarkey
property "sonar.projectName", "xiaomi" //sonar
property "sonar.sources", "src/main/java" //sonar
property "sonar.projectVersion", project.version //
}
}

@ -0,0 +1,10 @@
/**
* Automatically generated file. DO NOT MODIFY
*/
package net.micode.notes.test;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "net.micode.notes.test";
public static final String BUILD_TYPE = "debug";
}

@ -0,0 +1,12 @@
/**
* Automatically generated file. DO NOT MODIFY
*/
package net.micode.notes;
public final class BuildConfig {
public static final boolean DEBUG = false;
public static final String APPLICATION_ID = "net.micode.notes";
public static final String BUILD_TYPE = "release";
public static final int VERSION_CODE = 1;
public static final String VERSION_NAME = "0.1";
}

@ -0,0 +1,2 @@
appMetadataVersion=1.0
androidGradlePluginVersion=7.0.2

@ -0,0 +1,10 @@
{
"version": 3,
"artifactType": {
"type": "COMPATIBLE_SCREEN_MANIFEST",
"kind": "Directory"
},
"applicationId": "net.micode.notes",
"variantName": "release",
"elements": []
}

@ -0,0 +1,111 @@
# This is a configuration file for ProGuard.
# http://proguard.sourceforge.net/index.html#manual/usage.html
#
# Starting with version 2.2 of the Android plugin for Gradle, this file is distributed together with
# the plugin and unpacked at build-time. The files in $ANDROID_HOME are no longer maintained and
# will be ignored by new version of the Android plugin for Gradle.
# Optimizations: If you don't want to optimize, use the proguard-android.txt configuration file
# instead of this one, which turns off the optimization flags.
# Adding optimization introduces certain risks, since for example not all optimizations performed by
# ProGuard works on all versions of Dalvik. The following flags turn off various optimizations
# known to have issues, but the list may not be complete or up to date. (The "arithmetic"
# optimization can be used if you are only targeting Android 2.0 or later.) Make sure you test
# thoroughly if you go this route.
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
-optimizationpasses 5
-allowaccessmodification
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
# Preserve some attributes that may be required for reflection.
-keepattributes *Annotation*,Signature,InnerClasses,EnclosingMethod
-keep public class com.google.vending.licensing.ILicensingService
-keep public class com.android.vending.licensing.ILicensingService
-keep public class com.google.android.vending.licensing.ILicensingService
-dontnote com.android.vending.licensing.ILicensingService
-dontnote com.google.vending.licensing.ILicensingService
-dontnote com.google.android.vending.licensing.ILicensingService
# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
-keepclasseswithmembernames,includedescriptorclasses class * {
native <methods>;
}
# Keep setters in Views so that animations can still work.
-keepclassmembers public class * extends android.view.View {
void set*(***);
*** get*();
}
# We want to keep methods in Activity that could be used in the XML attribute onClick.
-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}
# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keepclassmembers class * implements android.os.Parcelable {
public static final ** CREATOR;
}
# Preserve annotated Javascript interface methods.
-keepclassmembers class * {
@android.webkit.JavascriptInterface <methods>;
}
# The support libraries contains references to newer platform versions.
# Don't warn about those in case this app is linking against an older
# platform version. We know about them, and they are safe.
-dontnote android.support.**
-dontnote androidx.**
-dontwarn android.support.**
-dontwarn androidx.**
# This class is deprecated, but remains for backward compatibility.
-dontwarn android.util.FloatMath
# Understand the @Keep support annotation.
-keep class android.support.annotation.Keep
-keep class androidx.annotation.Keep
-keep @android.support.annotation.Keep class * {*;}
-keep @androidx.annotation.Keep class * {*;}
-keepclasseswithmembers class * {
@android.support.annotation.Keep <methods>;
}
-keepclasseswithmembers class * {
@androidx.annotation.Keep <methods>;
}
-keepclasseswithmembers class * {
@android.support.annotation.Keep <fields>;
}
-keepclasseswithmembers class * {
@androidx.annotation.Keep <fields>;
}
-keepclasseswithmembers class * {
@android.support.annotation.Keep <init>(...);
}
-keepclasseswithmembers class * {
@androidx.annotation.Keep <init>(...);
}
# These classes are duplicated between android.jar and org.apache.http.legacy.jar.
-dontnote org.apache.http.**
-dontnote android.net.http.**
# These classes are duplicated between android.jar and core-lambda-stubs.jar.
-dontnote java.lang.invoke.**

@ -0,0 +1,110 @@
# This is a configuration file for ProGuard.
# http://proguard.sourceforge.net/index.html#manual/usage.html
#
# Starting with version 2.2 of the Android plugin for Gradle, this file is distributed together with
# the plugin and unpacked at build-time. The files in $ANDROID_HOME are no longer maintained and
# will be ignored by new version of the Android plugin for Gradle.
# Optimization is turned off by default. Dex does not like code run
# through the ProGuard optimize steps (and performs some
# of these optimizations on its own).
# Note that if you want to enable optimization, you cannot just
# include optimization flags in your own project configuration file;
# instead you will need to point to the
# "proguard-android-optimize.txt" file instead of this one from your
# project.properties file.
-dontoptimize
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
# Preserve some attributes that may be required for reflection.
-keepattributes *Annotation*,Signature,InnerClasses,EnclosingMethod
-keep public class com.google.vending.licensing.ILicensingService
-keep public class com.android.vending.licensing.ILicensingService
-keep public class com.google.android.vending.licensing.ILicensingService
-dontnote com.android.vending.licensing.ILicensingService
-dontnote com.google.vending.licensing.ILicensingService
-dontnote com.google.android.vending.licensing.ILicensingService
# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
-keepclasseswithmembernames,includedescriptorclasses class * {
native <methods>;
}
# Keep setters in Views so that animations can still work.
-keepclassmembers public class * extends android.view.View {
void set*(***);
*** get*();
}
# We want to keep methods in Activity that could be used in the XML attribute onClick.
-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}
# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keepclassmembers class * implements android.os.Parcelable {
public static final ** CREATOR;
}
# Preserve annotated Javascript interface methods.
-keepclassmembers class * {
@android.webkit.JavascriptInterface <methods>;
}
# The support libraries contains references to newer platform versions.
# Don't warn about those in case this app is linking against an older
# platform version. We know about them, and they are safe.
-dontnote android.support.**
-dontnote androidx.**
-dontwarn android.support.**
-dontwarn androidx.**
# This class is deprecated, but remains for backward compatibility.
-dontwarn android.util.FloatMath
# Understand the @Keep support annotation.
-keep class android.support.annotation.Keep
-keep class androidx.annotation.Keep
-keep @android.support.annotation.Keep class * {*;}
-keep @androidx.annotation.Keep class * {*;}
-keepclasseswithmembers class * {
@android.support.annotation.Keep <methods>;
}
-keepclasseswithmembers class * {
@androidx.annotation.Keep <methods>;
}
-keepclasseswithmembers class * {
@android.support.annotation.Keep <fields>;
}
-keepclasseswithmembers class * {
@androidx.annotation.Keep <fields>;
}
-keepclasseswithmembers class * {
@android.support.annotation.Keep <init>(...);
}
-keepclasseswithmembers class * {
@androidx.annotation.Keep <init>(...);
}
# These classes are duplicated between android.jar and org.apache.http.legacy.jar.
-dontnote org.apache.http.**
-dontnote android.net.http.**
# These classes are duplicated between android.jar and core-lambda-stubs.jar.
-dontnote java.lang.invoke.**

@ -0,0 +1,111 @@
# This is a configuration file for ProGuard.
# http://proguard.sourceforge.net/index.html#manual/usage.html
#
# Starting with version 2.2 of the Android plugin for Gradle, this file is distributed together with
# the plugin and unpacked at build-time. The files in $ANDROID_HOME are no longer maintained and
# will be ignored by new version of the Android plugin for Gradle.
# Optimizations can be turned on and off in the 'postProcessing' DSL block.
# The configuration below is applied if optimizations are enabled.
# Adding optimization introduces certain risks, since for example not all optimizations performed by
# ProGuard works on all versions of Dalvik. The following flags turn off various optimizations
# known to have issues, but the list may not be complete or up to date. (The "arithmetic"
# optimization can be used if you are only targeting Android 2.0 or later.) Make sure you test
# thoroughly if you go this route.
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
-optimizationpasses 5
-allowaccessmodification
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
# Preserve some attributes that may be required for reflection.
-keepattributes *Annotation*,Signature,InnerClasses,EnclosingMethod
-keep public class com.google.vending.licensing.ILicensingService
-keep public class com.android.vending.licensing.ILicensingService
-keep public class com.google.android.vending.licensing.ILicensingService
-dontnote com.android.vending.licensing.ILicensingService
-dontnote com.google.vending.licensing.ILicensingService
-dontnote com.google.android.vending.licensing.ILicensingService
# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
-keepclasseswithmembernames,includedescriptorclasses class * {
native <methods>;
}
# Keep setters in Views so that animations can still work.
-keepclassmembers public class * extends android.view.View {
void set*(***);
*** get*();
}
# We want to keep methods in Activity that could be used in the XML attribute onClick.
-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}
# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keepclassmembers class * implements android.os.Parcelable {
public static final ** CREATOR;
}
# Preserve annotated Javascript interface methods.
-keepclassmembers class * {
@android.webkit.JavascriptInterface <methods>;
}
# The support libraries contains references to newer platform versions.
# Don't warn about those in case this app is linking against an older
# platform version. We know about them, and they are safe.
-dontnote android.support.**
-dontnote androidx.**
-dontwarn android.support.**
-dontwarn androidx.**
# This class is deprecated, but remains for backward compatibility.
-dontwarn android.util.FloatMath
# Understand the @Keep support annotation.
-keep class android.support.annotation.Keep
-keep class androidx.annotation.Keep
-keep @android.support.annotation.Keep class * {*;}
-keep @androidx.annotation.Keep class * {*;}
-keepclasseswithmembers class * {
@android.support.annotation.Keep <methods>;
}
-keepclasseswithmembers class * {
@androidx.annotation.Keep <methods>;
}
-keepclasseswithmembers class * {
@android.support.annotation.Keep <fields>;
}
-keepclasseswithmembers class * {
@androidx.annotation.Keep <fields>;
}
-keepclasseswithmembers class * {
@android.support.annotation.Keep <init>(...);
}
-keepclasseswithmembers class * {
@androidx.annotation.Keep <init>(...);
}
# These classes are duplicated between android.jar and org.apache.http.legacy.jar.
-dontnote org.apache.http.**
-dontnote android.net.http.**
# These classes are duplicated between android.jar and core-lambda-stubs.jar.
-dontnote java.lang.invoke.**

@ -0,0 +1,8 @@
<dependencies>
<compile
roots="D:\Android_new\Notes-master1@@:app::debug">
<dependency
name="D:\Android_new\Notes-master1@@:app::debug"
simpleName=":"/>
</compile>
</dependencies>

@ -0,0 +1,6 @@
<libraries>
<library
name="D:\Android_new\Notes-master1@@:app::debug"
jars="D:\Android_new\Notes-master1\app\build\intermediates\app_classes\debug\classes.jar"
resolved="::"/>
</libraries>

@ -0,0 +1,8 @@
<dependencies>
<compile
roots="D:\Android_new\Notes-master1@@:app::debug">
<dependency
name="D:\Android_new\Notes-master1@@:app::debug"
simpleName=":"/>
</compile>
</dependencies>

@ -0,0 +1,6 @@
<libraries>
<library
name="D:\Android_new\Notes-master1@@:app::debug"
jars="D:\Android_new\Notes-master1\app\build\intermediates\app_classes\debug\classes.jar"
resolved="::"/>
</libraries>

@ -0,0 +1,64 @@
<variant
name="debug"
package="net.micode.notes"
minSdkVersion="14"
targetSdkVersion="14"
debuggable="true"
mergedManifest="build\intermediates\merged_manifest\debug\AndroidManifest.xml"
manifestMergeReport="build\outputs\logs\manifest-merger-debug-report.txt"
proguardFiles="build\intermediates\default_proguard_files\global\proguard-android.txt-7.0.2"
partialResultsDir="build\intermediates\lint_partial_results\debug\out">
<buildFeatures
namespacing="REQUIRED"/>
<sourceProviders>
<sourceProvider
manifest="src\main\AndroidManifest.xml"
javaDirectories="src\main\java;src\main\kotlin"
resDirectories="src\main\res"
assetsDirectories="src\main\assets"/>
<sourceProvider
manifest="src\debug\AndroidManifest.xml"
javaDirectories="src\debug\java;src\debug\kotlin"
resDirectories="src\debug\res"
assetsDirectories="src\debug\assets"/>
</sourceProviders>
<testSourceProviders>
<sourceProvider
manifest="src\test\AndroidManifest.xml"
javaDirectories="src\test\java;src\test\kotlin"
resDirectories="src\test\res"
assetsDirectories="src\test\assets"
unitTest="true"/>
<sourceProvider
manifest="src\testDebug\AndroidManifest.xml"
javaDirectories="src\testDebug\java;src\testDebug\kotlin"
resDirectories="src\testDebug\res"
assetsDirectories="src\testDebug\assets"
unitTest="true"/>
<sourceProvider
manifest="src\androidTest\AndroidManifest.xml"
javaDirectories="src\androidTest\java;src\androidTest\kotlin"
resDirectories="src\androidTest\res"
assetsDirectories="src\androidTest\assets"
androidTest="true"/>
<sourceProvider
manifest="src\androidTestDebug\AndroidManifest.xml"
javaDirectories="src\androidTestDebug\java;src\androidTestDebug\kotlin"
resDirectories="src\androidTestDebug\res"
assetsDirectories="src\androidTestDebug\assets"
androidTest="true"/>
</testSourceProviders>
<mainArtifact
classOutputs="build\intermediates\javac\debug\classes;build\intermediates\compile_and_runtime_not_namespaced_r_class_jar\debug\R.jar"
applicationId="net.micode.notes"
generatedSourceFolders="build\generated\ap_generated_sources\debug\out;build\generated\aidl_source_output_dir\debug\out;build\generated\source\buildConfig\debug;build\generated\renderscript_source_output_dir\debug\out"
generatedResourceFolders="build\generated\res\rs\debug;build\generated\res\resValues\debug">
</mainArtifact>
<androidTestArtifact
applicationId="net.micode.notes.test"
generatedSourceFolders="build\generated\ap_generated_sources\debugAndroidTest\out;build\generated\aidl_source_output_dir\debugAndroidTest\out;build\generated\source\buildConfig\androidTest\debug;build\generated\renderscript_source_output_dir\debugAndroidTest\out"
generatedResourceFolders="build\generated\res\rs\androidTest\debug;build\generated\res\resValues\androidTest\debug">
</androidTestArtifact>
<testArtifact>
</testArtifact>
</variant>

@ -0,0 +1,18 @@
<lint-module
format="1"
dir="D:\Android_new\Notes-master1\app"
name=":app"
type="APP"
maven="Notes-master1:app:"
gradle="7.0.2"
buildFolder="build"
bootClassPath="D:\Android_new\SDK\platforms\android-33\android.jar;D:\Android_new\SDK\platforms\android-33\optional\org.apache.http.legacy.jar;D:\Android_new\SDK\build-tools\33.0.0\core-lambda-stubs.jar"
javaSourceLevel="1.8"
compileTarget="android-33"
neverShrinking="true">
<lintOptions
absolutePaths="true"
checkReleaseBuilds="true"
explainIssues="true"/>
<variant name="debug"/>
</lint-module>

@ -0,0 +1,8 @@
<dependencies>
<compile
roots="D:\Android_new\Notes-master1@@:app::debug">
<dependency
name="D:\Android_new\Notes-master1@@:app::debug"
simpleName=":"/>
</compile>
</dependencies>

@ -0,0 +1,6 @@
<libraries>
<library
name="D:\Android_new\Notes-master1@@:app::debug"
jars="D:\Android_new\Notes-master1\app\build\intermediates\app_classes\debug\classes.jar"
resolved="::"/>
</libraries>

@ -0,0 +1,8 @@
<dependencies>
<compile
roots="D:\Android_new\Notes-master1@@:app::debug">
<dependency
name="D:\Android_new\Notes-master1@@:app::debug"
simpleName=":"/>
</compile>
</dependencies>

@ -0,0 +1,6 @@
<libraries>
<library
name="D:\Android_new\Notes-master1@@:app::debug"
jars="D:\Android_new\Notes-master1\app\build\intermediates\app_classes\debug\classes.jar"
resolved="::"/>
</libraries>

@ -0,0 +1,64 @@
<variant
name="debug"
package="net.micode.notes"
minSdkVersion="14"
targetSdkVersion="14"
debuggable="true"
mergedManifest="build\intermediates\merged_manifest\debug\AndroidManifest.xml"
manifestMergeReport="build\outputs\logs\manifest-merger-debug-report.txt"
proguardFiles="build\intermediates\default_proguard_files\global\proguard-android.txt-7.0.2"
partialResultsDir="build\intermediates\lint_partial_results\debug\out">
<buildFeatures
namespacing="REQUIRED"/>
<sourceProviders>
<sourceProvider
manifest="src\main\AndroidManifest.xml"
javaDirectories="src\main\java;src\main\kotlin"
resDirectories="src\main\res"
assetsDirectories="src\main\assets"/>
<sourceProvider
manifest="src\debug\AndroidManifest.xml"
javaDirectories="src\debug\java;src\debug\kotlin"
resDirectories="src\debug\res"
assetsDirectories="src\debug\assets"/>
</sourceProviders>
<testSourceProviders>
<sourceProvider
manifest="src\test\AndroidManifest.xml"
javaDirectories="src\test\java;src\test\kotlin"
resDirectories="src\test\res"
assetsDirectories="src\test\assets"
unitTest="true"/>
<sourceProvider
manifest="src\testDebug\AndroidManifest.xml"
javaDirectories="src\testDebug\java;src\testDebug\kotlin"
resDirectories="src\testDebug\res"
assetsDirectories="src\testDebug\assets"
unitTest="true"/>
<sourceProvider
manifest="src\androidTest\AndroidManifest.xml"
javaDirectories="src\androidTest\java;src\androidTest\kotlin"
resDirectories="src\androidTest\res"
assetsDirectories="src\androidTest\assets"
androidTest="true"/>
<sourceProvider
manifest="src\androidTestDebug\AndroidManifest.xml"
javaDirectories="src\androidTestDebug\java;src\androidTestDebug\kotlin"
resDirectories="src\androidTestDebug\res"
assetsDirectories="src\androidTestDebug\assets"
androidTest="true"/>
</testSourceProviders>
<mainArtifact
classOutputs="build\intermediates\javac\debug\classes;build\intermediates\compile_and_runtime_not_namespaced_r_class_jar\debug\R.jar"
applicationId="net.micode.notes"
generatedSourceFolders="build\generated\ap_generated_sources\debug\out;build\generated\aidl_source_output_dir\debug\out;build\generated\source\buildConfig\debug;build\generated\renderscript_source_output_dir\debug\out"
generatedResourceFolders="build\generated\res\rs\debug;build\generated\res\resValues\debug">
</mainArtifact>
<androidTestArtifact
applicationId="net.micode.notes.test"
generatedSourceFolders="build\generated\ap_generated_sources\debugAndroidTest\out;build\generated\aidl_source_output_dir\debugAndroidTest\out;build\generated\source\buildConfig\androidTest\debug;build\generated\renderscript_source_output_dir\debugAndroidTest\out"
generatedResourceFolders="build\generated\res\rs\androidTest\debug;build\generated\res\resValues\androidTest\debug">
</androidTestArtifact>
<testArtifact>
</testArtifact>
</variant>

@ -0,0 +1,18 @@
<lint-module
format="1"
dir="D:\Android_new\Notes-master1\app"
name=":app"
type="APP"
maven="Notes-master1:app:"
gradle="7.0.2"
buildFolder="build"
bootClassPath="D:\Android_new\SDK\platforms\android-33\android.jar;D:\Android_new\SDK\platforms\android-33\optional\org.apache.http.legacy.jar;D:\Android_new\SDK\build-tools\33.0.0\core-lambda-stubs.jar"
javaSourceLevel="1.8"
compileTarget="android-33"
neverShrinking="true">
<lintOptions
absolutePaths="true"
checkReleaseBuilds="true"
explainIssues="true"/>
<variant name="debug"/>
</lint-module>

@ -0,0 +1,18 @@
<lint-module
format="1"
dir="D:\Android_new\Notes-master1\app"
name=":app"
type="APP"
maven="Notes-master1:app:"
gradle="7.0.2"
buildFolder="build"
bootClassPath="D:\Android_new\SDK\platforms\android-33\android.jar;D:\Android_new\SDK\platforms\android-33\optional\org.apache.http.legacy.jar;D:\Android_new\SDK\build-tools\33.0.0\core-lambda-stubs.jar"
javaSourceLevel="1.8"
compileTarget="android-33"
neverShrinking="true">
<lintOptions
absolutePaths="true"
checkReleaseBuilds="true"
explainIssues="true"/>
<variant name="release"/>
</lint-module>

@ -0,0 +1,8 @@
<dependencies>
<compile
roots="D:\Android_new\Notes-master1@@:app::release">
<dependency
name="D:\Android_new\Notes-master1@@:app::release"
simpleName=":"/>
</compile>
</dependencies>

@ -0,0 +1,6 @@
<libraries>
<library
name="D:\Android_new\Notes-master1@@:app::release"
jars="D:\Android_new\Notes-master1\app\build\intermediates\app_classes\release\classes.jar"
resolved="::"/>
</libraries>

@ -0,0 +1,46 @@
<variant
name="release"
package="net.micode.notes"
minSdkVersion="14"
targetSdkVersion="14"
mergedManifest="build\intermediates\merged_manifest\release\AndroidManifest.xml"
manifestMergeReport="build\outputs\logs\manifest-merger-release-report.txt"
proguardFiles="build\intermediates\default_proguard_files\global\proguard-android.txt-7.0.2;proguard-rules.txt"
partialResultsDir="build\intermediates\lint_vital_partial_results\release\out">
<buildFeatures
namespacing="REQUIRED"/>
<sourceProviders>
<sourceProvider
manifest="src\main\AndroidManifest.xml"
javaDirectories="src\main\java;src\main\kotlin"
resDirectories="src\main\res"
assetsDirectories="src\main\assets"/>
<sourceProvider
manifest="src\release\AndroidManifest.xml"
javaDirectories="src\release\java;src\release\kotlin"
resDirectories="src\release\res"
assetsDirectories="src\release\assets"/>
</sourceProviders>
<testSourceProviders>
<sourceProvider
manifest="src\test\AndroidManifest.xml"
javaDirectories="src\test\java;src\test\kotlin"
resDirectories="src\test\res"
assetsDirectories="src\test\assets"
unitTest="true"/>
<sourceProvider
manifest="src\testRelease\AndroidManifest.xml"
javaDirectories="src\testRelease\java;src\testRelease\kotlin"
resDirectories="src\testRelease\res"
assetsDirectories="src\testRelease\assets"
unitTest="true"/>
</testSourceProviders>
<mainArtifact
classOutputs="build\intermediates\javac\release\classes;build\intermediates\compile_and_runtime_not_namespaced_r_class_jar\release\R.jar"
applicationId="net.micode.notes"
generatedSourceFolders="build\generated\ap_generated_sources\release\out;build\generated\aidl_source_output_dir\release\out;build\generated\source\buildConfig\release;build\generated\renderscript_source_output_dir\release\out"
generatedResourceFolders="build\generated\res\rs\release;build\generated\res\resValues\release">
</mainArtifact>
<testArtifact>
</testArtifact>
</variant>

@ -0,0 +1,19 @@
<lint-module
format="1"
dir="D:\Android_new\Notes-master1\app"
name=":app"
type="APP"
maven="Notes-master1:app:"
gradle="7.0.2"
buildFolder="build"
bootClassPath="D:\Android_new\SDK\platforms\android-32\android.jar;D:\Android_new\SDK\platforms\android-32\optional\org.apache.http.legacy.jar;D:\Android_new\SDK\build-tools\33.0.0\core-lambda-stubs.jar"
javaSourceLevel="1.8"
compileTarget="android-32"
neverShrinking="true">
<lintOptions
abortOnError="true"
absolutePaths="true"
checkReleaseBuilds="true"
explainIssues="true"/>
<variant name="release"/>
</lint-module>

@ -0,0 +1,32 @@
<variant
name="release"
package="net.micode.notes"
minSdkVersion="14"
targetSdkVersion="14"
mergedManifest="build\intermediates\merged_manifest\release\AndroidManifest.xml"
manifestMergeReport="build\outputs\logs\manifest-merger-release-report.txt"
proguardFiles="build\intermediates\default_proguard_files\global\proguard-android.txt-7.0.2;proguard-rules.txt"
partialResultsDir="build\intermediates\lint_vital_partial_results\release\out">
<buildFeatures
namespacing="REQUIRED"/>
<sourceProviders>
<sourceProvider
manifest="src\main\AndroidManifest.xml"
javaDirectories="src\main\java;src\main\kotlin"
resDirectories="src\main\res"
assetsDirectories="src\main\assets"/>
<sourceProvider
manifest="src\release\AndroidManifest.xml"
javaDirectories="src\release\java;src\release\kotlin"
resDirectories="src\release\res"
assetsDirectories="src\release\assets"/>
</sourceProviders>
<testSourceProviders>
</testSourceProviders>
<mainArtifact
classOutputs="build\intermediates\javac\release\classes;build\intermediates\compile_and_runtime_not_namespaced_r_class_jar\release\R.jar"
applicationId="net.micode.notes"
generatedSourceFolders="build\generated\ap_generated_sources\release\out;build\generated\aidl_source_output_dir\release\out;build\generated\source\buildConfig\release;build\generated\renderscript_source_output_dir\release\out"
generatedResourceFolders="build\generated\res\rs\release;build\generated\res\resValues\release">
</mainArtifact>
</variant>

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="androidTest$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Android_new\Notes-master1\app\src\androidTest\res"/><source path="D:\Android_new\Notes-master1\app\build\generated\res\rs\androidTest\debug"/><source path="D:\Android_new\Notes-master1\app\build\generated\res\resValues\androidTest\debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="androidTest" generated-set="androidTest$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Android_new\Notes-master1\app\src\androidTest\res"/><source path="D:\Android_new\Notes-master1\app\build\generated\res\rs\androidTest\debug"/><source path="D:\Android_new\Notes-master1\app\build\generated\res\resValues\androidTest\debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="androidTestDebug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Android_new\Notes-master1\app\src\androidTestDebug\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="androidTestDebug" generated-set="androidTestDebug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Android_new\Notes-master1\app\src\androidTestDebug\res"/></dataSet><mergedItems/></merger>

@ -1,4 +1,4 @@
#Tue Aug 16 21:55:39 CST 2022
#Sun Sep 04 11:27:47 CST 2022
D\:\\Android_new\\Notes-master1\\app\\src\\main\\res\\drawable-hdpi\\list_red_single.9.png=D\:\\Android_new\\Notes-master1\\app\\build\\intermediates\\merged_res\\debug\\drawable-hdpi_list_red_single.9.png.flat
D\:\\Android_new\\Notes-master1\\app\\src\\main\\res\\drawable-hdpi\\list_white_middle.9.png=D\:\\Android_new\\Notes-master1\\app\\build\\intermediates\\merged_res\\debug\\drawable-hdpi_list_white_middle.9.png.flat
D\:\\Android_new\\Notes-master1\\app\\src\\main\\res\\layout\\note_list.xml=D\:\\Android_new\\Notes-master1\\app\\build\\intermediates\\merged_res\\debug\\layout_note_list.xml.flat

@ -132,8 +132,8 @@
<item name="android:textColor">@color/secondary_text_dark</item>
</style>
<style name="NoteActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid">
<item name="android:displayOptions"/>
<item name="android:visibility">gone</item>
<!--item name="android:displayOptions" /-->
<item name="android:visibility">visible</item>
</style>
<style name="NoteTheme" parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarStyle">@style/NoteActionBarStyle</item>

@ -41,8 +41,8 @@
</style><style name="NoteTheme" parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarStyle">@style/NoteActionBarStyle</item>
</style><style name="NoteActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid">
<item name="android:displayOptions"/>
<item name="android:visibility">gone</item>
<item name="android:visibility">visible</item>
</style></file><file path="D:\Android_new\Notes-master1\app\src\main\res\values-zh-rCN\arrays.xml" qualifiers="zh-rCN"><string-array name="menu_share_ways">
<item>短信</item>
<item>邮件</item>

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Android_new\Notes-master1\app\src\main\assets"/><source path="D:\Android_new\Notes-master1\app\build\intermediates\shader_assets\release\out"/></dataSet><dataSet config="release" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Android_new\Notes-master1\app\src\release\assets"/></dataSet></merger>

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Android_new\Notes-master1\app\src\main\jniLibs"/></dataSet><dataSet config="release" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Android_new\Notes-master1\app\src\release\jniLibs"/></dataSet></merger>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save