-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
准备 发布 1.9.2.2-incremental1 1. 解决了增量更新的问题 2. 升级基础库
- Loading branch information
1 parent
9436a13
commit 3cde4a0
Showing
108 changed files
with
420 additions
and
447 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,33 @@ | ||
apply plugin: 'java-library' | ||
apply plugin: 'com.github.dcendents.android-maven' | ||
plugins { | ||
id 'java-library' | ||
id 'org.jetbrains.kotlin.jvm' | ||
id 'maven-publish' | ||
} | ||
|
||
group = 'com.github.xiaojinzi123' | ||
java { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
|
||
group = 'com.github.xiaojinzi123' | ||
archivesBaseName = "component-annotation" | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
} | ||
|
||
sourceCompatibility = "8" | ||
targetCompatibility = "8" | ||
java { | ||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
publishing { | ||
publications { | ||
maven(MavenPublication) { | ||
groupId project.group | ||
artifactId archivesBaseName | ||
version project.version | ||
from components.java | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,48 @@ | ||
apply plugin: 'java-library' | ||
apply plugin: 'com.github.dcendents.android-maven' | ||
plugins { | ||
id 'java-library' | ||
id 'org.jetbrains.kotlin.jvm' | ||
id 'maven-publish' | ||
} | ||
|
||
group = 'com.github.xiaojinzi123' | ||
java { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
|
||
group = 'com.github.xiaojinzi123' | ||
archivesBaseName = "component-compiler" | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
// 配置模块的 freeCompilerArgs 参数 | ||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { | ||
kotlinOptions { | ||
freeCompilerArgs += [ | ||
"-Xjvm-default=all", | ||
] | ||
} | ||
} | ||
|
||
sourceCompatibility = "8" | ||
targetCompatibility = "8" | ||
|
||
dependencies { | ||
implementation 'com.google.auto.service:auto-service:1.0' | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
implementation 'com.google.auto.service:auto-service:1.0.1' | ||
implementation 'com.squareup:javapoet:1.13.0' | ||
implementation 'org.apache.commons:commons-lang3:3.12.0' | ||
implementation 'org.apache.commons:commons-collections4:4.4' | ||
implementation 'com.google.code.gson:gson:2.8.7' | ||
if (rootProject.ext.isDependMavenOnline) { | ||
implementation androidxLibs.component_annotation | ||
} else { | ||
implementation project(':ComponentApi') | ||
} | ||
implementation 'com.google.code.gson:gson:2.10.1' | ||
implementation project(':ComponentApi') | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
java { | ||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
|
||
publishing { | ||
publications { | ||
maven(MavenPublication) { | ||
groupId project.group | ||
artifactId archivesBaseName | ||
version project.version | ||
from components.java | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
ComponentCompiler/src/main/resources/META-INF/gradle/incremental.annotation.processors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
com.xiaojinzi.component.ModuleAppProcessor,aggregating | ||
com.xiaojinzi.component.RouterProcessor,aggregating | ||
com.xiaojinzi.component.RouterDegradeProcessor,aggregating | ||
com.xiaojinzi.component.InterceptorProcessor,aggregating | ||
com.xiaojinzi.component.ServiceProcessor,aggregating | ||
com.xiaojinzi.component.FragmentProcessor,aggregating | ||
com.xiaojinzi.component.AutowireProcessor,aggregating | ||
com.xiaojinzi.component.RouterApiProcessor,aggregating |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,38 @@ | ||
apply plugin: 'groovy' | ||
apply plugin: 'maven' | ||
apply plugin: 'maven-publish' | ||
|
||
task sourceJar(type: Jar) { | ||
archiveClassifier.set('sources') | ||
from sourceSets.main.allJava | ||
} | ||
|
||
dependencies { | ||
implementation gradleApi() | ||
implementation localGroovy() | ||
implementation group: 'org.ow2.asm', name: 'asm-all', version: '5.2' | ||
implementation 'com.android.tools.build:gradle:3.3.0' | ||
implementation 'com.google.code.gson:gson:2.8.6' | ||
} | ||
repositories { | ||
mavenCentral() | ||
implementation 'com.google.code.gson:gson:2.10.1' | ||
} | ||
|
||
sourceCompatibility = "8" | ||
targetCompatibility = "8" | ||
sourceCompatibility = "11" | ||
targetCompatibility = "11" | ||
|
||
group='com.xiaojinzi.component' | ||
version="${versions.component_plugin_upload_version}" | ||
archivesBaseName='component-plugin' | ||
version=versions.component_plugin_upload_version | ||
|
||
uploadArchives{ | ||
publishing { | ||
publications { | ||
maven(MavenPublication) { | ||
groupId = group | ||
artifactId = archivesBaseName | ||
version = version | ||
from components.java | ||
} | ||
} | ||
repositories { | ||
mavenDeployer{ | ||
repository(url: uri('../RepoComponent')) | ||
maven { | ||
url = "$rootDir/RepoComponent" | ||
} | ||
} | ||
} |
Oops, something went wrong.