Skip to content

Commit

Permalink
Revert "Update to Kotlin 1.6.0-dev-2458"
Browse files Browse the repository at this point in the history
This reverts commit 2be88f6.
  • Loading branch information
neetopia committed Nov 12, 2021
1 parent f303ef5 commit d2a354a
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Expand Up @@ -36,7 +36,6 @@ The form of the test itself is flexible as long as the logic is being covered.
Here are some [sample test processors](compiler-plugin/src/test/kotlin/com/google/devtools/ksp/processor) for your reference.

#### Steps for writing a test
* KSP needs to be built with JDK 11+, because of some test dependencies.
* Create a test processor under the sample processor folder.
it should be extending [AbstractTestProcessor](compiler-plugin/src/test/kotlin/com/google/devtools/ksp/processor/AbstractTestProcessor.kt)
* Write your logic by overriding corresponding functions.
Expand Down
Expand Up @@ -449,9 +449,9 @@ abstract class KspTaskJvm : KotlinCompile(KotlinJvmOptionsImpl()), KspTask {
viewConfig.attributes.attribute(artifactType, CLASS_STRUCTURE_ARTIFACT_TYPE)
}.files
).disallowChanges()
classpathSnapshotProperties.useClasspathSnapshot.value(true).disallowChanges()
useClasspathSnapshot.value(true).disallowChanges()
} else {
classpathSnapshotProperties.useClasspathSnapshot.value(false).disallowChanges()
useClasspathSnapshot.value(false).disallowChanges()
}
}

Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
@@ -1,9 +1,9 @@
# Copied from kotlinc
org.gradle.jvmargs=-Duser.country=US -Dkotlin.daemon.jvm.options=-Xmx2200m -Dfile.encoding=UTF-8

kotlinBaseVersion=1.6.0-dev-2458
agpBaseVersion=7.0.0
intellijVersion=203.8084.24
kotlinBaseVersion=1.6.0-dev-328
agpBaseVersion=4.2.0
intellijVersion=202.7660.26
junitVersion=4.12
googleTruthVersion=1.1
compilerTestEnabled=false
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit d2a354a

Please sign in to comment.