Skip to content

Commit

Permalink
新版3.0整合首次提交
Browse files Browse the repository at this point in the history
  • Loading branch information
teble committed Jan 27, 2022
0 parents commit ffb3913
Show file tree
Hide file tree
Showing 177 changed files with 12,496 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Built application files
*.apk
*.ap_

# Files for the ART/Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/
out/

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

# Log Files
*.log

# Android Studio Navigation editor temp files
.navigation/

# Android Studio captures folder
captures/

# Intellij
*.iml
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/gradle.xml
# .idea/dictionaries
# .idea/libraries
.idea/*

# Keystore files
*.jks

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild

# Google Services (e.g. APIs or Firebase)
google-services.json

# Freeline
freeline.py
freeline/
freeline_project_description.json

# Informal version
app/debug
app/dev
app/alpha
app/beta
app/rc
app/release
app/.cxx
/key.txt
app/keystore.gradle
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# XAutoDaily

[![license](https://img.shields.io/github/license/teble/XAutoDaily.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
[![GitHub release](https://img.shields.io/github/release/teble/XAutoDaily.svg)](https://github.com/cinit/teble/XAutoDaily/latest)

XAutoDaily 是一个兼容QQ大部分版本的开源签到 Xposed 模块

## 使用方法

激活本模块后,在 QQ 客户端的设置中点击 "XAutoDaily 设置" 即可开关对应功能。

## 一切开发旨在学习,请勿用于非法用途

- 本项目保证永久开源,欢迎提交 Issue 或者 Pull Request,但是请不要提交用于非法用途的功能。
- 如果某功能被大量运用于非法用途,那么该功能将会被移除。
- 开发人员可能在任何时间**停止更新****删除项目**

## 功能介绍

- 会员任务以及签到
- 黄钻签到
- 腾讯视频会员打卡
- 会员排行榜点赞
- QQ日签卡
- 小程序打卡/任务
- 大会员任务
- 好友名片自动点赞回赞
- 好友续火(避免滥用限制字符为20)
- 会员公众号签到
- 新版群打卡

## License

- [GPL-3.0](https://www.gnu.org/licenses/gpl-3.0.html)

```
Copyright (C) 2022 teble@github.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
```
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
169 changes: 169 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlinx-serialization'

apply from: './versioning.gradle'

def signingFilePath = './keystore.gradle'
def performSigning = file(signingFilePath).exists()
if (performSigning) {
apply from: signingFilePath
}

android {
compileSdkVersion 31
buildToolsVersion "30.0.3"
ndkVersion '21.4.7075529'

defaultConfig {
applicationId "me.teble.xposed.autodaily"
minSdkVersion 24
//noinspection OldTargetApi
targetSdkVersion 30
versionCode mVersionCode
versionName "3.0.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

externalNativeBuild {
cmake {
cppFlags "-std=c++11"
}
}
ndk {
abiFilters "armeabi-v7a", "arm64-v8a"
}
}

if (performSigning) {
signingConfigs {
release {
storeFile file(project.signing.storeFilePath)
storePassword project.signing.storePassword
keyAlias project.signing.keyAlias
keyPassword project.signing.keyPassword
v1SigningEnabled true
v2SigningEnabled true
}
}
}

buildTypes {
release {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
if (performSigning) {
signingConfig signingConfigs.release
}
}
debug {
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
if (performSigning) {
signingConfig signingConfigs.release
}
versionNameSuffix ".$mBuildNum-debug"
}
alpha {
initWith release
shrinkResources false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
if (performSigning) {
signingConfig signingConfigs.release
}
matchingFallbacks = ['release']
versionNameSuffix ".$mBuildNum-alpha"
}
rc {
initWith release
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
if (performSigning) {
signingConfig signingConfigs.release
}
matchingFallbacks = ['release']
versionNameSuffix "-rc"
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
coreLibraryDesugaringEnabled true
}

externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
version "3.6.0"
}
}

aaptOptions {
additionalParameters '--allow-reserved-package-id', '--package-id', '0x62'
}
lintOptions {
abortOnError false
}

kotlinOptions {
jvmTarget = '1.8'
useIR = true
}
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion compose_version
kotlinCompilerVersion kotlin_version
}
applicationVariants.all { variant ->
variant.outputs.all { output ->
outputFileName = "XAutoDaily-${versionName}.apk"
}
}
}

dependencies {
// implementation project(":stub")
implementation fileTree(dir: "libs", include: ["*.jar"])
testImplementation "junit:junit:4.13.2"
androidTestImplementation "androidx.test.ext:junit:1.1.3"
androidTestImplementation "androidx.test.espresso:espresso-core:3.4.0"

// Xposed
implementation "com.github.kyuubiran:EzXHelper:0.6.1"
compileOnly "de.robv.android.xposed:api:82"

// qq stub
compileOnly files("lib/qqStub.jar")

// Sdk
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5"

// jetpack compose
implementation "androidx.activity:activity-compose:1.4.0"
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.ui:ui-tooling:$compose_version"
implementation "androidx.compose.material:material:$compose_version"
implementation "androidx.navigation:navigation-compose:2.4.0-rc01"

// hutool
def hutool_version = "5.7.15"
implementation "cn.hutool:hutool-core:$hutool_version"
implementation "cn.hutool:hutool-cron:$hutool_version"
implementation "cn.hutool:hutool-http:$hutool_version"
implementation "cn.hutool:hutool-crypto:$hutool_version"

// Other
implementation "com.tencent:mmkv-static:1.2.11"
implementation "net.bytebuddy:byte-buddy-android:1.12.7"
implementation "com.charleskorn.kaml:kaml:0.36.0"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0"
implementation "org.apache-extras.beanshell:bsh:2.0b6"
implementation 'com.jayway.jsonpath:json-path:2.6.0'
}
Binary file added app/lib/qqStub.jar
Binary file not shown.
Loading

0 comments on commit ffb3913

Please sign in to comment.