Skip to content

Commit

Permalink
创建发布版本2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kymjs committed Apr 5, 2022
1 parent c1eca39 commit 246701e
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 33 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,20 @@

## 使用方式

当前最新版本为:
[![](https://jitpack.io/v/kymjs/TheMVP.svg)](https://jitpack.io/#kymjs/TheMVP)

```
// root build.gradle
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
// module build.gradle
dependencies {
implementation 'com.kymjs.core:themvp:1.0.5'
implementation 'com.github.kymjs:themvp:2.0.0'
}
```

Expand Down
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
buildscript {
repositories {
maven { url 'https://jitpack.io' }
google()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}

allprojects {
repositories {
maven { url 'https://jitpack.io' }
google()
mavenCentral()
jcenter()
Expand Down
5 changes: 3 additions & 2 deletions demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ android {
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.21"
implementation project(':themvp')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.31"
// implementation project(':themvp')
implementation 'com.github.kymjs:themvp:2.0.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'de.greenrobot:eventbus:2.4.0'
}
35 changes: 9 additions & 26 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,38 +1,21 @@
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

org.gradle.parallel=true

LICENSE_NAME=The Apache Software License, Version 2.0
LICENSE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt

REPO_URL=http://www.kymjs.com
REPO_GIT=https://github.com/kymjs/CoreModule.git

PROJECT_GROUP=com.kymjs.core
PROJECT_DESCRIPTION=CoreModule

DEVELOPER_ID=kymjs
DEVELOPER_NAME=ZhangTao
DEVELOPER_EMAIL=[email protected]

REPO_URL_THEMVP=https://github.com/kymjs/TheMVP
REPO_GIT_THEMVP=https://github.com/kymjs/TheMVP.git
THEMVP_MODULE_NAME=themvp
THEMVP_MODULE_VERSION=1.0.7
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app"s APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
3 changes: 2 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include ':demo', ':themvp'
include ':themvp'
include ':demo'
7 changes: 4 additions & 3 deletions themvp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
apply plugin: 'com.android.library'

version = "1.1.0"

android {
compileSdkVersion 30
resourcePrefix "TheMVP__"
Expand All @@ -23,4 +21,7 @@ android {

dependencies {
implementation 'androidx.appcompat:appcompat:1.3.1'
}
}

apply plugin: 'maven-publish'
apply plugin: 'com.github.dcendents.android-maven'

0 comments on commit 246701e

Please sign in to comment.