-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare working sample & Cleanup (#679)
* Improve build configuration * Rebuild * Remove test logging * Prepare working sample * Make useArtifact to private * Improve document * Cleanup * Remove sample sourceset * Prepare working sample * Prepare working sample * Remove sampled-annotation module * Remove sampled-annotation module * Configure ui-sample module * Dummy * Bump agp * Rollback agp bump * Bump agp (re) * Fix build error for ui-sample module
- Loading branch information
Showing
19 changed files
with
155 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- | ||
~ Designed and developed by Duckie Team 2023. | ||
~ | ||
~ Licensed under the MIT. | ||
~ Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE | ||
--> | ||
|
||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="true" factoryName="Gradle" type="GradleRunConfiguration"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list /> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>false</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<ForceTestExec>false</ForceTestExec> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
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
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
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
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
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
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,29 @@ | ||
/* | ||
* Designed and developed by Duckie Team 2023. | ||
* | ||
* Licensed under the MIT. | ||
* Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE | ||
*/ | ||
|
||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
||
plugins { | ||
quackquack("android-library") | ||
quackquack("android-compose") | ||
} | ||
|
||
android { | ||
namespace = "team.duckie.quackquack.ui.sample" | ||
|
||
sourceSets { | ||
getByName("main").java.srcDir("src/sample/kotlin") | ||
} | ||
} | ||
|
||
tasks.withType<KotlinCompile> { | ||
enabled = false | ||
} | ||
|
||
dependencies { | ||
compileOnly(projects.ui) | ||
} |
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,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!-- | ||
~ Designed and developed by Duckie Team 2023. | ||
~ | ||
~ Licensed under the MIT. | ||
~ Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE | ||
--> | ||
|
||
<manifest /> |
19 changes: 19 additions & 0 deletions
19
ui-sample/src/sample/kotlin/team/duckie/quackquack/ui/sample/SampleTest.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,19 @@ | ||
/* | ||
* Designed and developed by Duckie Team 2023. | ||
* | ||
* Licensed under the MIT. | ||
* Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE | ||
*/ | ||
|
||
@file:Suppress("unused") | ||
|
||
package team.duckie.quackquack.ui.sample | ||
|
||
import androidx.compose.runtime.Composable | ||
import team.duckie.quackquack.material.QuackTypography | ||
import team.duckie.quackquack.ui.QuackText | ||
|
||
@Composable | ||
fun SampleTest() { | ||
QuackText(text = "Hello, World!", typography = QuackTypography.Body1) | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
### 테스트 방식 | ||
## 테스트 방식 | ||
|
||
https://twitter.com/ji_sungbin/status/1654405012926369793 | ||
https://quackquack.duckie.team/android/testing#snapshot-test | ||
|
||
### @RequiresApi(Build.VERSION_CODES.O) | ||
## @RequiresApi(Build.VERSION_CODES.O) | ||
|
||
SDK Level 26부터 테스트 가능 |
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
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