-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
120 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
22 changes: 22 additions & 0 deletions
22
gradle-plugin/src/test/fixtures/missing-dex/base/build.gradle
This file contains 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'org.jetbrains.kotlin.android' | ||
apply plugin: 'com.google.devtools.ksp' | ||
apply plugin: 'app.cash.better.dynamic.features' | ||
apply plugin: 'app.cash.better.dynamic.features.agp-patch' | ||
|
||
android { | ||
namespace "app.cash.better.dynamic.features.integration" | ||
|
||
compileSdk 32 | ||
defaultConfig { | ||
minSdk = 24 | ||
|
||
versionCode 1 | ||
} | ||
|
||
dynamicFeatures = [':feature'] | ||
} | ||
|
||
dependencies { | ||
implementation "com.squareup.okhttp3:okhttp:4.9.3" | ||
} |
1 change: 1 addition & 0 deletions
1
gradle-plugin/src/test/fixtures/missing-dex/base/src/main/AndroidManifest.xml
This file contains 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<manifest /> |
This file contains 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
buildscript { | ||
apply from: "${projectDir.absolutePath}/../buildscript.gradle" | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
maven { | ||
url "file://${rootDir}/../../../../build/localMaven" | ||
} | ||
mavenCentral() | ||
google() | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
gradle-plugin/src/test/fixtures/missing-dex/feature/build.gradle
This file contains 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apply plugin: 'com.android.dynamic-feature' | ||
apply plugin: 'org.jetbrains.kotlin.android' | ||
apply plugin: 'com.google.devtools.ksp' | ||
apply plugin: 'app.cash.better.dynamic.features' | ||
|
||
android { | ||
namespace "app.cash.better.dynamic.features.integration.feature" | ||
|
||
compileSdk 32 | ||
defaultConfig { | ||
minSdk = 24 | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation project(":base") | ||
implementation project(":library") | ||
} |
14 changes: 14 additions & 0 deletions
14
gradle-plugin/src/test/fixtures/missing-dex/feature/src/main/AndroidManifest.xml
This file contains 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
xmlns:dist="http://schemas.android.com/apk/distribution"> | ||
<dist:module | ||
dist:instant="false" | ||
dist:title="Feature"> | ||
<dist:delivery> | ||
<dist:install-time /> | ||
</dist:delivery> | ||
<dist:fusing dist:include="true" /> | ||
</dist:module> | ||
</manifest> |
2 changes: 2 additions & 0 deletions
2
gradle-plugin/src/test/fixtures/missing-dex/gradle.properties
This file contains 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g | ||
android.useAndroidX=true |
5 changes: 5 additions & 0 deletions
5
gradle-plugin/src/test/fixtures/missing-dex/library/build.gradle
This file contains 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apply plugin: 'org.jetbrains.kotlin.jvm' | ||
|
||
dependencies { | ||
implementation "com.squareup.okhttp3:okhttp:5.0.0-alpha.2" | ||
} |
7 changes: 7 additions & 0 deletions
7
gradle-plugin/src/test/fixtures/missing-dex/library/src/main/java/com/example/JavaClass.java
This file contains 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.example; | ||
|
||
public class JavaClass { | ||
public String message() { | ||
return "Java!"; | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
...e-plugin/src/test/fixtures/missing-dex/library/src/main/kotlin/com/example/KotlinClass.kt
This file contains 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.example | ||
|
||
class KotlinClass { | ||
fun message() = "Kotlin!" | ||
} |
This file contains 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apply from: "../settings.gradle" | ||
|
||
include ':base' | ||
include ':feature' | ||
include ':library' |
This file contains 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 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