Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved the test temp directory inside the gradle build directory #1472

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ribafish
Copy link
Contributor

Moved the test temp directory inside the gradle build directory. This way we get rid of the need to specify absolute paths so that the test project have access to the test repository and ksp root project.

I also move the deletion of this temp directory to the test tasks doFirst so that it is deleted even if the build is cancelled for any reason (in which case the doLast doesn't execute).

ribafish added 4 commits July 20, 2023 15:02
* feature/buildImprovements: (54 commits)
  Revert "Deleted unneeded workflows"
  Revert "Created a separate trigger workflow."
  Fixed integration-tests:test task caching
  Fixed gradle-plugin tests not being cacheable because of absolutePaths
  Fixed checkApi deprecation and absolute path
  Added back missing test dependencies
  Removed itellij plugin from root level build.gradle.kts
  Added gePoc&gePoc2 branches to fire the CI onDemand workflow on each push.
  Deleted unneeded workflows
  Created a separate trigger workflow.
  Added a workflow_dispatch trigger to the main GHA
  fix java array argument variance
  Fix mapping of TypeAliasDescriptor to KsTypeAlias
  fix type resolution scopes for nested local class.
  AA: add missing annotations on backing fileds into properties.
  workaround for classpath snapshot issue
  exclude resources from ktlint
  AA:add placeholder for Resolver.getPackageAnnotations Resolver.getPackagesWithAnnotation
  Add Resolver.getPackageAnnotations Resolver.getPackagesWithAnnotation api. These new APIs provides capability to inspect java package level annotations.
  CI: upload AA test reports
  ...

# Conflicts:
#	gradle.properties
* ksp/main:
  UPDATE_KOTLIN_VERSION: 1.9.20-dev-6963
  UPDATE_KOTLIN_VERSION: 1.9.20-dev-6963
  Allow auto-merge for AA commits
  Split kotlin versions for kotlin-analysis-api
  AA: replace kotlin-compiler with kotlin-compiler-for-ide
  Initial implementation of KSP 2 Gradle plugin
  Introduce KSPConfig and refactor KspAATest
  Fix dependencies
  Update CI for 1.0.13-release branch
  Examples: update to Gradle 8.2.1
  Examples: update to 1.9.0-1.0.12
  expand array for java default array values.
  fallback to resolved java type in case of type argument substitution failure

# Conflicts:
#	kotlin-analysis-api/build.gradle.kts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant