Compare commits

36 Commits

Author SHA1 Message Date
59c90ac72b docs: update README 2025-06-24 15:27:59 +08:00
db35649290 chore: update project files 2025-06-24 15:27:47 +08:00
dac52d5d33 chore: bump dependencies 2025-03-17 00:22:56 +08:00
1d23af34ad chore: bump gradle to 8.13 2025-03-17 00:20:55 +08:00
d0beccacb8 chore: update .editorconfig 2025-03-17 00:20:50 +08:00
60439ce03b chore: update .gitignore 2025-03-17 00:20:45 +08:00
fb999aeeec docs: update license 2025-01-13 10:22:00 +08:00
58ac5039b0 chore: update target sdk to 35 2024-11-11 00:45:08 +08:00
af2ec09836 chore: update project files 2024-11-11 00:42:40 +08:00
0162bbde44 chore: bump dependencies 2024-11-11 00:42:36 +08:00
54d236c28c chore: bump gradle to 8.10.2 2024-11-11 00:42:30 +08:00
f22ec8deaf chore: update .editorconfig 2024-06-21 10:12:14 +08:00
2f231ba2a5 chore: update project files 2024-06-21 10:12:10 +08:00
91a081f06a chore: bump dependencies 2024-06-20 11:35:48 +08:00
a6d03201db chore: bump gradle to 8.7 2024-06-20 11:35:45 +08:00
d5102bc2db chore: update .editorconfig 2024-06-20 11:35:39 +08:00
488938f9a2 chore: bump dependencies 2024-02-20 11:45:58 +08:00
f4e46c1c46 chore: bump gradle to 8.6 2024-02-20 11:45:51 +08:00
c30c7f0517 chore: update .editorconfig 2024-01-13 21:31:18 +08:00
9b3ce2b0f6 chore: update project files 2024-01-13 21:31:16 +08:00
c1b754acbf docs: update copyright date to 2024 for all existing files 2024-01-01 01:22:07 +08:00
1e04a0e077 style: merge to new ktlint version & rules 2023-12-29 21:43:32 +08:00
31afed8824 chore: bump dependencies 2023-12-29 00:05:44 +08:00
60029e8515 chore: bump gradle to 8.5 2023-12-29 00:05:38 +08:00
b0e4f466a0 chore: update .gitignore 2023-12-29 00:05:21 +08:00
4ee017e890 docs: use relative link 2023-12-11 02:35:30 +08:00
ce0f17050e chore: update project files 2023-12-11 02:35:28 +08:00
88d30f6322 chore: bump dependency versions 2023-12-11 00:45:59 +08:00
e7ec555d30 chore: bump "com.highcapable.sweetdependency" version to 1.0.4 2023-11-14 01:05:51 +08:00
145f1acb2a chore: bump "com.highcapable.sweetproperty" version to 1.0.5 2023-11-08 15:15:49 +08:00
40496b4671 chore: update project files 2023-11-08 15:15:45 +08:00
e0c1411ab3 chore: bump dependencies 2023-11-04 03:19:09 +08:00
49c8856dc9 chore: bump plugin versions
- bump "com.highcapable.sweetdependency" version to 1.0.3
- bump "com.highcapable.sweetproperty" version to 1.0.4
2023-11-04 03:15:53 +08:00
7685699f58 chore: bump plugin versions
- bump "com.highcapable.sweetdependency" version to 1.0.2
- bump "com.highcapable.sweetproperty" version to 1.0.3
2023-09-26 09:13:12 +08:00
299eb507a7 docs: fix description 2023-09-16 00:30:43 +08:00
cea544e500 chore: clean up 2023-09-15 20:15:35 +08:00
21 changed files with 180 additions and 113 deletions

View File

@@ -10,6 +10,24 @@ ktlint_standard_argument-list-wrapping = disabled
ktlint_standard_parameter-list-wrapping = disabled
ktlint_standard_trailing-comma-on-declaration-site = disabled
ktlint_function_signature_body_expression_wrapping = multiline
ktlint_standard_string-template-indent = disabled
ktlint_standard_function-signature = disabled
ktlint_standard_trailing-comma-on-call-site = disabled
ktlint_standard_multiline-expression-wrapping = disabled
ktlint_standard_no-empty-first-line-in-class-body = disabled
ktlint_standard_if-else-wrapping = disabled
ktlint_standard_if-else-bracing = disabled
ktlint_standard_statement-wrapping = disabled
ktlint_standard_blank-line-before-declaration = disabled
ktlint_standard_no-empty-file = disabled
ktlint_standard_property-naming = disabled
ktlint_standard_function-naming = disabled
ktlint_standard_chain-method-continuation = disabled
ktlint_standard_class-signature = disabled
ktlint_standard_condition-wrapping = disabled
ktlint_standard_class-signature = disabled
ktlint_standard_no-trailing-spaces = disabled
ktlint_standard_multiline-loop = disabled
ij_continuation_indent_size = 2
indent_size = 4
indent_style = space

117
.gitignore vendored
View File

@@ -1,15 +1,110 @@
## Fully .gtignore for IntelliJ, Android Studio and Gradle based Java projects
## References:
## - https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
## - https://github.com/android/platform-samples/blob/main/.gitignore
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# AWS User-specific
.idea/**/aws.xml
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
.idea/.name
.idea/artifacts
.idea/compiler.xml
.idea/jarRepositories.xml
.idea/modules.xml
.idea/*.iml
.idea/modules
.idea/caches
.idea/material_theme**
.idea/other.xml
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
*.ipr
# Kotlin
.kotlin
# Misc
.idea/misc.xml
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# SonarLint plugin
.idea/sonarlint/
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
# Android studio 3.1+ additional
.idea/deployment*.xml
.idea/assetWizardSettings.xml
.idea/androidTestResultsUserPreferences.xml
# Android projects
**/local.properties
/captures
.externalNativeBuild
.cxx
local.properties
# Gradle projects
.gradle
build/
# Mkdocs temporary serving folder
docs-gen
site
*.bak
.idea/appInsightsSettings.xml
# Mac OS
.DS_Store

5
.idea/.gitignore generated vendored
View File

@@ -1,5 +0,0 @@
# Default ignored files
/shelf/
/gradle.xml
/misc.xml
/workspace.xml

6
.idea/AndroidProjectSystem.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AndroidProjectSystem">
<option name="providerId" value="com.android.tools.idea.GradleProjectSystem" />
</component>
</project>

6
.idea/compiler.xml generated
View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="17" />
</component>
</project>

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<value>
<entry key="app">
<State />
</entry>
<entry key="demo-app">
<State />
</entry>
</value>
</component>
</project>

View File

@@ -1,6 +1,7 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="CheckImageSize" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
<option name="processCode" value="true" />
<option name="processLiterals" value="true" />

2
.idea/kotlinc.xml generated
View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KotlinJpsPluginSettings">
<option name="version" value="1.9.10" />
<option name="version" value="2.1.10" />
</component>
</project>

7
.idea/ktlint-plugin.xml generated Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KtLint plugin">
<ktlintMode>MANUAL</ktlintMode>
<formatOnSave>false</formatOnSave>
</component>
</project>

17
.idea/runConfigurations.xml generated Normal file
View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="com.intellij.execution.junit.AbstractAllInDirectoryConfigurationProducer" />
<option value="com.intellij.execution.junit.AllInPackageConfigurationProducer" />
<option value="com.intellij.execution.junit.PatternConfigurationProducer" />
<option value="com.intellij.execution.junit.TestInClassConfigurationProducer" />
<option value="com.intellij.execution.junit.UniqueIdConfigurationProducer" />
<option value="com.intellij.execution.junit.testDiscovery.JUnitTestDiscoveryConfigurationProducer" />
<option value="org.jetbrains.kotlin.idea.junit.KotlinJUnitRunConfigurationProducer" />
<option value="org.jetbrains.kotlin.idea.junit.KotlinPatternConfigurationProducer" />
</set>
</option>
</component>
</project>

View File

@@ -1,9 +1,9 @@
# Project Promote
[![GitHub license](https://img.shields.io/github/license/fankes/ProjectPromote?color=blue)](https://github.com/fankes/ProjectPromote/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/v/release/fankes/ProjectPromote?display_name=release&logo=github&color=green)](https://github.com/fankes/ProjectPromote/releases)
[![GitHub license](https://img.shields.io/github/license/fankes/ProjectPromote?color=blue&style=flat-square)](https://github.com/fankes/ProjectPromote/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/v/release/fankes/ProjectPromote?display_name=release&logo=github&color=green&style=flat-square)](https://github.com/fankes/ProjectPromote/releases)
<img src="https://github.com/fankes/ProjectPromote/blob/master/img-src/icon.png?raw=true" width = "100" height = "100" alt="LOGO"/>
<img src="img-src/icon.png" width = "100" height = "100" alt="LOGO"/>
This is just an integrated dependency on my projects promotion for my own use.
@@ -20,7 +20,7 @@ Project dependencies are published to my [maven-repository](https://github.com/f
- [AGPL-3.0](https://www.gnu.org/licenses/agpl-3.0.html)
```
Copyright (C) 2017-2023 Fankes Studio(qzmmcn@163.com)
Copyright (C) 2017 Fankes Studio(qzmmcn@163.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
@@ -36,4 +36,4 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
```
Copyright © 2017-2023 Fankes Studio(qzmmcn@163.com)
Copyright © 2017 Fankes Studio(qzmmcn@163.com)

1
demo-app/.gitignore vendored
View File

@@ -1 +0,0 @@
/build

View File

@@ -1,6 +1,6 @@
/*
* ProjectPromote - An integrated dependency on my projects promotion for my own use.
* Copyright (C) 2017-2023 Fankes Studio(qzmmcn@163.com)
* Copyright (C) 2017-2024 Fankes Studio(qzmmcn@163.com)
* https://github.com/fankes/TSBattery
*
* This software is non-free but opensource software: you can redistribute it

View File

@@ -6,16 +6,16 @@ kotlin.code.style=official
kotlin.incremental.useClasspathSnapshot=true
# Project Configuration
project.name=ProjectPromote
project.description=An integrated dependency on my projects promotion for my own use
project.description=An integrated dependency on my projects promotion for my own use.
project.url=https://github.com/fankes/ProjectPromote
project.licence.name=AGPL License 3.0
project.licence.url=https://github.com/fankes/ProjectPromote/blob/master/LICENSE
project.developer.id="0"
project.developer.name=fankes
project.developer.email=qzmmcn@163.com
project.android.compileSdk=34
project.android.compileSdk=35
project.android.minSdk=21
project.android.targetSdk=33
project.android.targetSdk=35
project.app.packageName=com.fankes.projectpromote_demo
project.app.versionName=universal
project.app.versionCode=1

View File

@@ -12,16 +12,16 @@ repositories:
plugins:
com.android.application:
alias: android-application
version: 8.1.1
version: 8.9.0
com.android.library:
alias: android-library
version-ref: android-application
org.jetbrains.kotlin.android:
alias: kotlin-android
version: 1.9.10
version: 2.1.10
com.vanniktech.maven.publish:
alias: maven-publish
version: 0.25.3
version: 0.31.0
libraries:
io.noties.markwon:
@@ -33,28 +33,28 @@ libraries:
version-ref: <this>::core
com.squareup.okhttp3:
okhttp:
version: 4.11.0
version: 4.12.0
androidx.lifecycle:
lifecycle-runtime-ktx:
version: 2.6.2
version: 2.8.7
androidx.core:
core-ktx:
version: 1.12.0
version: 1.15.0
androidx.appcompat:
appcompat:
version: 1.6.1
version: 1.7.0
com.google.android.material:
material:
version: 1.9.0
version: 1.12.0
androidx.constraintlayout:
constraintlayout:
version: 2.1.4
version: 2.2.1
androidx.test.ext:
junit:
version: 1.1.5
version: 1.2.1
androidx.test.espresso:
espresso-core:
version: 3.5.1
version: 3.6.1
junit:
junit:
version: 4.13.2

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@@ -1,6 +1,6 @@
/*
* ProjectPromote - An integrated dependency on my projects promotion for my own use.
* Copyright (C) 2017-2023 Fankes Studio(qzmmcn@163.com)
* Copyright (C) 2017-2024 Fankes Studio(qzmmcn@163.com)
* https://github.com/fankes/TSBattery
*
* This software is non-free but opensource software: you can redistribute it

View File

@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dip"
android:layout_marginRight="16dip"
android:breakStrategy="simple"
android:hyphenationFrequency="none"
android:lineSpacingExtra="2dip"
android:paddingTop="8dip"
android:paddingBottom="8dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000"
android:textSize="16sp"
tools:ignore="UnusedAttribute"
tools:text="Hello" />

View File

@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipChildren="false"
android:clipToPadding="false"
android:fillViewport="true"
android:paddingLeft="16dip"
android:paddingRight="16dip"
android:scrollbarStyle="outsideInset">
<TextView
android:id="@+id/text_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#0f000000"
android:fontFamily="monospace"
android:lineSpacingExtra="2dip"
android:paddingLeft="16dip"
android:paddingTop="8dip"
android:paddingRight="16dip"
android:paddingBottom="8dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textSize="14sp" />
</HorizontalScrollView>

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000"
android:textSize="16sp"
tools:text="Table content" />

View File

@@ -6,8 +6,8 @@ pluginManagement {
}
}
plugins {
id("com.highcapable.sweetdependency") version "1.0.1"
id("com.highcapable.sweetproperty") version "1.0.2"
id("com.highcapable.sweetdependency") version "1.0.4"
id("com.highcapable.sweetproperty") version "1.0.5"
}
sweetProperty {
global {