# ScopedArtifact.POST_COMPILATION_CLASSES

[View Source](https://cs.android.com/search?q=file:com/android/build/api/artifact/ScopedArtifact.kt+class:com.android.build.api.artifact.ScopedArtifact.POST_COMPILATION_CLASSES) Added in 9.2.0-rc01


```
@Incubating
object ScopedArtifact.POST_COMPILATION_CLASSES : ScopedArtifact
```

<br />

|---|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||||
| ↳ | [com.android.build.api.artifact.Artifact](https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/Artifact) ||||
|   | ↳ | [com.android.build.api.artifact.Artifact.Single](https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/Artifact.Single) |||
|   |   | ↳ | [com.android.build.api.artifact.ScopedArtifact](https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/ScopedArtifact) ||
|   |   |   | ↳ | [com.android.build.api.artifact.ScopedArtifact.POST_COMPILATION_CLASSES](https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/ScopedArtifact.POST_COMPILATION_CLASSES) |

*** ** * ** ***

.class files, result of sources compilation and/or external dependencies depending on the scope

Do not use this unless you are producing bytecodes post compilation, see `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/ScopedArtifact.CLASSES`. This artifact is only providing a readonly view of the compiled classes, to add or replace classes, use `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/ScopedArtifact.CLASSES`

To add new bytecode or transform existing bytecode, use `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/ScopedArtifact.CLASSES`. Bytecode added to `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/ScopedArtifact.CLASSES`, or transformed `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/ScopedArtifact.CLASSES` will not impact the content of `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/ScopedArtifact.POST_COMPILATION_CLASSES`

It is not possible to register such bytecode generator through the DSL, one must use this Variant API.

The classes registered through this API will be visible to the `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/variant/Instrumentation` pipeline.

## Summary

| ### Inherited functions |
|---|
| From [com.android.build.api.artifact.Artifact](https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/Artifact) |---|---| | `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/Artifact#getFileSystemLocationName()()` | | `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/Artifact#getFolderName()()` | | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/Artifact#name()()` Provide a unique name for the artifact type. | |

| ### Inherited properties |
|---|
| From [com.android.build.api.artifact.Artifact](https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/Artifact) |---|---| | `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/Artifact.Category` | `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/Artifact#category()` | | `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/ArtifactKind<https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html>` | `https://developer.android.com/reference/tools/gradle-api/9.2/com/android/build/api/artifact/Artifact#kind()` | |