Repository navigation
ADFA-2602: Move the on-device toolchain to Gradle 9.6.1, AGP 9.3.1, Kotlin 2.3.21 #1647
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
578f731
ADFA-2602: Resolve buildscript classpaths from the on-device Maven repo
alome007 9f39d70
ADFA-2602: Move the on-device toolchain to Gradle 9.6.1, AGP 9.3.1, K…
alome007 c676f3b
ADFA-2602: Reference the agp-tooling catalog version in plugin-builder
alome007 a8a0448
Merge stage into task/ADFA-2602-toolchain-agp9
Daniel-ADFA a1fe8d5
Merge stage into task/ADFA-2602-toolchain-agp9
alome007 73aff3d
Merge stage into task/ADFA-2602-toolchain-agp9
alome007 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,9 +1,15 @@ | ||
| rootProject.name = "plugin-builder" | ||
|
|
||
| dependencyResolutionManagement { | ||
| repositories { | ||
| google() | ||
| mavenCentral() | ||
| gradlePluginPortal() | ||
| } | ||
| } | ||
| repositories { | ||
| google() | ||
| mavenCentral() | ||
| gradlePluginPortal() | ||
| } | ||
|
|
||
| versionCatalogs { | ||
| create("libs") { | ||
| from(files("../../gradle/libs.versions.toml")) | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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
111 changes: 56 additions & 55 deletions
111
...er-model-impl/src/main/java/com/itsaky/androidide/builder/model/DefaultAndroidArtifact.kt
This file contains hidden or 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,55 +1,56 @@ | ||
| /* | ||
| * This file is part of AndroidIDE. | ||
| * | ||
| * AndroidIDE is free software: you can redistribute it and/or modify | ||
| * it under the terms of the GNU General Public License as published by | ||
| * the Free Software Foundation, either version 3 of the License, or | ||
| * (at your option) any later version. | ||
| * | ||
| * AndroidIDE is distributed in the hope that it will be useful, | ||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| * GNU General Public License for more details. | ||
| * | ||
| * You should have received a copy of the GNU General Public License | ||
| * along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>. | ||
| */ | ||
| package com.itsaky.androidide.builder.model | ||
|
|
||
| import com.android.builder.model.v2.ide.AndroidArtifact | ||
| import com.android.builder.model.v2.ide.BytecodeTransformation | ||
| import com.android.builder.model.v2.ide.CodeShrinker | ||
| import com.android.builder.model.v2.ide.PrivacySandboxSdkInfo | ||
| import java.io.File | ||
| import java.io.Serializable | ||
|
|
||
| /** @author Akash Yadav */ | ||
| class DefaultAndroidArtifact : AndroidArtifact, Serializable { | ||
|
|
||
| private val serialVersionUID = 1L | ||
| override var applicationId: String? = "" | ||
| override var resGenTaskName: String? = null | ||
| override var abiFilters: Set<String>? = null | ||
| override var assembleTaskOutputListingFile: File? = null | ||
| override var bundleInfo: DefaultBundleInfo? = null | ||
| override var codeShrinker: CodeShrinker? = null | ||
| override var generatedResourceFolders: Collection<File> = emptyList() | ||
| override var isSigned: Boolean = false | ||
| override var maxSdkVersion: Int? = null | ||
| override var minSdkVersion: DefaultApiVersion = DefaultApiVersion() | ||
| override var signingConfigName: String? = null | ||
| override var sourceGenTaskName: String = "" | ||
| override var testInfo: DefaultTestInfo? = null | ||
| override var assembleTaskName: String = "" | ||
| override var classesFolders: Set<File> = emptySet() | ||
| override var compileTaskName: String = "" | ||
| override var generatedSourceFolders: Collection<File> = emptyList() | ||
| override var ideSetupTaskNames: Set<String> = emptySet() | ||
| override var targetSdkVersionOverride: DefaultApiVersion? = null | ||
| override var modelSyncFiles: Collection<Void> = emptyList() | ||
| override var privacySandboxSdkInfo: PrivacySandboxSdkInfo? = null | ||
| override var desugaredMethodsFiles: Collection<File> = emptyList() | ||
| override val generatedClassPaths: Map<String, File> = emptyMap() | ||
| override val generatedAssetsFolders: Collection<File> = emptyList() | ||
| override val bytecodeTransformations: Collection<BytecodeTransformation> = emptyList() | ||
| } | ||
| /* | ||
| * This file is part of AndroidIDE. | ||
| * | ||
| * AndroidIDE is free software: you can redistribute it and/or modify | ||
| * it under the terms of the GNU General Public License as published by | ||
| * the Free Software Foundation, either version 3 of the License, or | ||
| * (at your option) any later version. | ||
| * | ||
| * AndroidIDE is distributed in the hope that it will be useful, | ||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| * GNU General Public License for more details. | ||
| * | ||
| * You should have received a copy of the GNU General Public License | ||
| * along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>. | ||
| */ | ||
| package com.itsaky.androidide.builder.model | ||
|
|
||
| import com.android.builder.model.v2.ide.AndroidArtifact | ||
| import com.android.builder.model.v2.ide.BytecodeTransformation | ||
| import com.android.builder.model.v2.ide.CodeShrinker | ||
| import java.io.File | ||
| import java.io.Serializable | ||
|
|
||
| /** @author Akash Yadav */ | ||
| class DefaultAndroidArtifact : | ||
| AndroidArtifact, | ||
| Serializable { | ||
| private val serialVersionUID = 1L | ||
| override var applicationId: String? = "" | ||
| override var resGenTaskName: String? = null | ||
| override var abiFilters: Set<String>? = null | ||
| override var assembleTaskOutputListingFile: File? = null | ||
| override var bundleInfo: DefaultBundleInfo? = null | ||
| override var codeShrinker: CodeShrinker? = null | ||
| override var generatedResourceFolders: Collection<File> = emptyList() | ||
| override var isSigned: Boolean = false | ||
| override var maxSdkVersion: Int? = null | ||
| override var minSdkVersion: DefaultApiVersion = DefaultApiVersion() | ||
| override var signingConfigName: String? = null | ||
| override var sourceGenTaskName: String = "" | ||
| override var testInfo: DefaultTestInfo? = null | ||
| override var assembleTaskName: String = "" | ||
| override var classesFolders: Set<File> = emptySet() | ||
| override var compileTaskName: String = "" | ||
| override var generatedSourceFolders: Collection<File> = emptyList() | ||
| override var ideSetupTaskNames: Set<String> = emptySet() | ||
| override var targetSdkVersionOverride: DefaultApiVersion? = null | ||
| override var modelSyncFiles: Collection<Void> = emptyList() | ||
| override var desugaredMethodsFiles: Collection<File> = emptyList() | ||
| override val generatedClassPaths: Map<String, File> = emptyMap() | ||
| override val generatedAssetsFolders: Collection<File> = emptyList() | ||
| override val bytecodeTransformations: Collection<BytecodeTransformation> = emptyList() | ||
| override val mappingR8TextFile: File? = null | ||
| override val mappingR8PartitionFile: File? = null | ||
|
Daniel-ADFA marked this conversation as resolved.
Resolved
|
||
| } | ||
93 changes: 49 additions & 44 deletions
93
...der-model-impl/src/main/java/com/itsaky/androidide/builder/model/DefaultSourceProvider.kt
This file contains hidden or 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,44 +1,49 @@ | ||
| /* | ||
| * This file is part of AndroidIDE. | ||
| * | ||
| * AndroidIDE is free software: you can redistribute it and/or modify | ||
| * it under the terms of the GNU General Public License as published by | ||
| * the Free Software Foundation, either version 3 of the License, or | ||
| * (at your option) any later version. | ||
| * | ||
| * AndroidIDE is distributed in the hope that it will be useful, | ||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| * GNU General Public License for more details. | ||
| * | ||
| * You should have received a copy of the GNU General Public License | ||
| * along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>. | ||
| */ | ||
| package com.itsaky.androidide.builder.model | ||
|
|
||
| import com.android.builder.model.v2.ide.SourceProvider | ||
| import java.io.File | ||
| import java.io.Serializable | ||
|
|
||
| /** @author Akash Yadav */ | ||
| class DefaultSourceProvider() : SourceProvider, Serializable { | ||
| private val serialVersionUID = 1L | ||
| override var aidlDirectories: Collection<File>? = null | ||
| override var assetsDirectories: Collection<File>? = null | ||
| override var customDirectories: Collection<DefaultCustomSourceDirectory>? = null | ||
| override var javaDirectories: Collection<File> = emptyList() | ||
| override var jniLibsDirectories: Collection<File> = emptyList() | ||
| override var kotlinDirectories: Collection<File> = emptyList() | ||
| override var manifestFile: File? = NoFile | ||
| override var mlModelsDirectories: Collection<File>? = null | ||
| override var name: String = "" | ||
| override var renderscriptDirectories: Collection<File>? = null | ||
| override var resDirectories: Collection<File>? = null | ||
| override var resourcesDirectories: Collection<File> = emptyList() | ||
| override var shadersDirectories: Collection<File>? = null | ||
| override var baselineProfileDirectories: Collection<File>? = null | ||
|
|
||
| companion object { | ||
| @JvmStatic val NoFile = File("<does-not-exist>") | ||
| } | ||
| } | ||
| /* | ||
| * This file is part of AndroidIDE. | ||
| * | ||
| * AndroidIDE is free software: you can redistribute it and/or modify | ||
| * it under the terms of the GNU General Public License as published by | ||
| * the Free Software Foundation, either version 3 of the License, or | ||
| * (at your option) any later version. | ||
| * | ||
| * AndroidIDE is distributed in the hope that it will be useful, | ||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| * GNU General Public License for more details. | ||
| * | ||
| * You should have received a copy of the GNU General Public License | ||
| * along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>. | ||
| */ | ||
| package com.itsaky.androidide.builder.model | ||
|
|
||
| import com.android.builder.model.v2.ide.SourceProvider | ||
| import java.io.File | ||
| import java.io.Serializable | ||
|
|
||
| /** @author Akash Yadav */ | ||
| class DefaultSourceProvider : | ||
| SourceProvider, | ||
| Serializable { | ||
| private val serialVersionUID = 1L | ||
| override var aidlDirectories: Collection<File>? = null | ||
| override var assetsDirectories: Collection<File>? = null | ||
| override var customDirectories: Collection<DefaultCustomSourceDirectory>? = null | ||
| override var javaDirectories: Collection<File> = emptyList() | ||
| override var jniLibsDirectories: Collection<File> = emptyList() | ||
| override var kotlinDirectories: Collection<File> = emptyList() | ||
| override var manifestFile: File? = NoFile | ||
| override var mlModelsDirectories: Collection<File>? = null | ||
| override var name: String = "" | ||
| override var renderscriptDirectories: Collection<File>? = null | ||
| override var resDirectories: Collection<File>? = null | ||
| override var resourcesDirectories: Collection<File> = emptyList() | ||
| override var shadersDirectories: Collection<File>? = null | ||
| override var baselineProfileDirectories: Collection<File>? = null | ||
|
|
||
| companion object { | ||
| @JvmStatic val NoFile = File("<does-not-exist>") | ||
| } | ||
|
|
||
| override val keepRulesDirectories: Collection<File>? = null | ||
| override val aarKeepRulesDirectories: Collection<File>? = null | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.