Skip to content

Commit

Permalink
update to kotlin 1.8.10
Browse files Browse the repository at this point in the history
  • Loading branch information
elihart committed Apr 4, 2023
1 parent cd8c38e commit d83a146
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
13 changes: 6 additions & 7 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ Publishing a new Main release to Maven
========

1. Change the version in `gradle.properties` to a non-SNAPSHOT version based on Major.Minor.Patch naming scheme
2. Update `CHANGELOG.md`, adding the new release version and release notes
4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version)
5. `git tag -a X.Y.X -m "Version X.Y.Z"` (where X.Y.Z is the new version)
6. Add your sonatype login information under gradle properties mavenCentralUsername and mavenCentralPassword in your local user gradle.properties file
7. Make sure you have a gpg signing key configured (https://vanniktech.github.io/gradle-maven-publish-plugin/central/#secrets)
2. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version)
3. `git tag -a X.Y.X -m "Version X.Y.Z"` (where X.Y.Z is the new version)
4. Add your sonatype login information under gradle properties mavenCentralUsername and mavenCentralPassword in your local user gradle.properties file
5. Make sure you have a gpg signing key configured (https://vanniktech.github.io/gradle-maven-publish-plugin/central/#secrets)
6. Run `./gradlew publish` to build the artifacts and publish them to maven
7. Update the `gradle.properties` to the next SNAPSHOT version.
8. `git commit -am "Prepare next development version."`
9. `git push && git push --tags`
10. Merge to master and create a new release through the Github web UI
10. Merge to master and create a new release through the Github web UI with release notes

Publishing a release to an internal repository
========
Expand All @@ -29,4 +28,4 @@ to see how to configure additional repositories.
Maven Local Installation
=======================

If testing changes locally, you can install to mavenLocal via `./gradlew publishToMavenLocal`
If testing changes locally, you can install to mavenLocal via `./gradlew publishToMavenLocal`
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ abstract class BaseProcessor(val symbolProcessorEnvironment: SymbolProcessorEnvi
final override fun process(resolver: Resolver): List<KSAnnotated> {
val symbolProcessorEnvironment = requireNotNull(symbolProcessorEnvironment)
environment = XProcessingEnv.create(
symbolProcessorEnvironment.options,
symbolProcessorEnvironment,
resolver,
symbolProcessorEnvironment.codeGenerator,
symbolProcessorEnvironment.logger
)
process(null, environment, XRoundEnv.create(environment))
return emptyList()
Expand Down
10 changes: 5 additions & 5 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
def versions = [
kotlinVersion : '1.7.20',
kotlinVersion : '1.8.10',
appCompatVersion : '1.4.1',
localBroadcastManagerVersion : '1.1.0',
roboelectricVersion : '4.9',
benchmarkVersion : '1.0.0',
compileTestingVersion : '1.4.9',
kspVersion : '1.7.20-1.0.8',
xProcessorVersion : '2.5.0-beta01',
compileTestingVersion : '1.5.0',
kspVersion : '1.8.10-1.0.9',
xProcessorVersion : '2.6.0-alpha01',
mockkVersion : '1.12.3',
ktlintGradlePluginVersion : '3.8.0',
androidXTestingVersion : '1.4.0'
]

ext.versions = versions
ext.androidConfig = [
agpVersion : '7.2.1',
agpVersion : '7.4.0',
compileSdkVersion : 32,
minSdkVersion : 16,
targetSdkVersion : 30
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-rc-3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip

0 comments on commit d83a146

Please sign in to comment.