Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit 8af5fba

Browse files
authored
Merge pull request #51 from dropbox/matt-ramotar/0.2.0-alpha01
Matt ramotar/0.2.0 alpha01
2 parents 6a7a961 + e40c247 commit 8af5fba

File tree

774 files changed

+1578
-23825
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

774 files changed

+1578
-23825
lines changed

.codecov.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
coverage:
2+
range: 50..80
3+
round: down
4+
precision: 2
5+
6+
comment:
7+
layout: diff, files

.github/componentbox.gif

-2.14 MB
Binary file not shown.

.github/scripts/checksum.sh

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

.github/workflows/coverage.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
Publish:
9+
runs-on: ubuntu-latest
10+
if: github.repository == 'dropbox/componentbox' && github.ref == 'refs/heads/master'
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
16+
- name: Set up JDK env
17+
uses: actions/setup-java@v2
18+
with:
19+
distribution: zulu
20+
java-version: 11
21+
22+
- name: Upload Artifacts
23+
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-daemon --no-parallel
24+
env:
25+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
26+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
27+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
28+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
29+
30+
- name: Retrieve version
31+
run: |
32+
echo "VERSION_NAME=$(cat gradle.properties | grep -w "VERSION_NAME" | cut -d'=' -f2)" >> $GITHUB_ENV
33+
- name: Publish release
34+
run: ./gradlew closeAndReleaseRepository --no-daemon --no-parallel
35+
if: "!endsWith(env.VERSION_NAME, '-SNAPSHOT')"
36+
env:
37+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
38+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}

build.gradle

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
buildscript {
2+
repositories {
3+
gradlePluginPortal()
4+
google()
5+
mavenCentral()
6+
}
7+
dependencies {
8+
classpath 'com.android.tools.build:gradle:7.3.1'
9+
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10'
10+
classpath 'org.jetbrains.kotlin:kotlin-serialization:1.7.10'
11+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.22.0'
12+
classpath 'org.jetbrains.kotlinx:kover:0.6.0'
13+
classpath 'org.jetbrains.kotlinx:kotlinx-cli:0.3.4'
14+
classpath 'com.rickclephas.kmp:kmp-nativecoroutines-gradle-plugin:0.12.6-new-mm'
15+
classpath 'app.cash.zipline:zipline-gradle-plugin:0.9.4'
16+
classpath 'com.squareup.anvil:gradle-plugin:2.4.2'
17+
}
18+
}
19+
20+
plugins {
21+
id 'org.jetbrains.kotlin.multiplatform' version '1.7.10'
22+
id 'org.jetbrains.dokka' version '1.7.10'
23+
id 'org.jetbrains.kotlinx.kover' version '0.6.0'
24+
}
25+
apply plugin: 'com.vanniktech.maven.publish.base'
26+
apply plugin: 'com.android.library'
27+
28+
allprojects {
29+
version = project.property("VERSION_NAME") as String
30+
31+
repositories {
32+
google()
33+
mavenCentral()
34+
35+
maven {
36+
url 'https://maven.pkg.jetbrains.space/public/p/compose/dev'
37+
}
38+
39+
maven {
40+
url 'https://oss.sonatype.org/content/repositories/snapshots/'
41+
}
42+
}
43+
}
44+
45+
android {
46+
compileSdkVersion 33
47+
defaultConfig {
48+
minSdkVersion 24
49+
targetSdkVersion 33
50+
versionCode 1
51+
versionName '0.2.0-alpha01'
52+
}
53+
}
54+
55+
kotlin {
56+
android("android")
57+
}

build.gradle.kts

Lines changed: 0 additions & 117 deletions
This file was deleted.

buildSrc/build.gradle.kts

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)