Skip to content
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

Use MavenPublisher plugin #147

Merged
merged 2 commits into from Mar 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,36 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

### Describe the bug
Please add a clear description of what the bug is, **and** fill the list below.
- Library version: *version number*
- Reproducible in official demo app: *yes/no*
- Device / Android version: *Pixel, API 28*

### To Reproduce
Steps to reproduce the behavior, possibly in the demo app:
1. Go to '...'
2. Click on '...'
3. See error

### Expected behavior
A clear and concise description of what you expected to happen.

### XML layout
Declaration of your XML component, so we can read its attributes.

### Screenshots
If applicable, add screenshots to help explain your problem.

### Logs
If applicable, please add logs to help diagnose the problem.
Use `ZoomLogger.setLogLevel(LEVEL_INFO)` to stream all logs into LogCat.

### APK
Link to a Github repo where the bug is reproducible.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

### Problem to be addressed
A clear and concise description of what the problem is.

### Describe the solution you'd like
A clear and concise description of what you want to happen.

### Additional context
Add any other context or screenshots about the feature request here.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
@@ -0,0 +1,15 @@
---
name: Question
about: Question about library usage
title: ''
labels: is:question
assignees: ''

---

### How do I?
Describe your problem here. Please, read the docs first.
Questions not strictly related to this repository should be asked elsewhere.

### Version used
Library version.
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
@@ -0,0 +1,10 @@
### Before you go
Unless this is a simple fix (typos, bugs with obvious solution), please open an issue first.
If the edited files were covered by tests, updated tests are required for merging. Please look into the tests folders and make sure you cover new code.

- Fixes ... (*issue number*)
- Tests: ... (*yes/no*)
- Docs updated: ... (*yes/no*)

### Solution
If applicable, briefly describe how the issue was addressed.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -6,8 +6,6 @@ on:
branches:
- master
pull_request:
env:
TRAVIS: true
jobs:
ANDROID_BASE_CHECKS:
name: Base Checks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Expand Up @@ -8,9 +8,9 @@ jobs:
name: Bintray Upload
runs-on: ubuntu-latest
env:
TRAVIS: true
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
BINTRAY_REPO: ${{ secrets.BINTRAY_REPO }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
Expand Down
36 changes: 0 additions & 36 deletions app/build.gradle

This file was deleted.

29 changes: 29 additions & 0 deletions app/build.gradle.kts
@@ -0,0 +1,29 @@
plugins {
id("com.android.application")
}

android {
setCompileSdkVersion(rootProject.extra["compileSdkVersion"] as Int)

defaultConfig {
applicationId = "com.otaliastudios.zoom.demo"
setMinSdkVersion(rootProject.extra["minSdkVersion"] as Int)
setTargetSdkVersion(rootProject.extra["targetSdkVersion"] as Int)
versionCode = 1
versionName = "1.0"
setProperty("archivesBaseName", "ZoomLayout_v${versionName}_($versionCode)")
}

// required by ExoPlayer
compileOptions {
targetCompatibility = JavaVersion.VERSION_1_8
}
}

dependencies {
implementation("androidx.appcompat:appcompat:1.1.0")
implementation("com.google.android.exoplayer:exoplayer-core:2.9.3")
implementation("com.google.android.exoplayer:exoplayer-ui:2.9.3")
implementation("com.otaliastudios.opengl:egloo:0.4.0")
implementation(project(":library"))
}
34 changes: 0 additions & 34 deletions build.gradle

This file was deleted.

32 changes: 32 additions & 0 deletions build.gradle.kts
@@ -0,0 +1,32 @@
buildscript {

extra["minSdkVersion"] = 16
extra["compileSdkVersion"] = 29
extra["targetSdkVersion"] = 29
extra["kotlinVersion"] = "1.3.61"

repositories {
mavenCentral()
google()
jcenter()
}

dependencies {
val kotlinVersion = property("kotlinVersion") as String
classpath("com.android.tools.build:gradle:3.6.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
classpath("com.otaliastudios.tools:publisher:0.1.5")
}
}

allprojects {
repositories {
mavenCentral()
google()
jcenter()
}
}

tasks.register("clean", Delete::class) {
delete(buildDir)
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
124 changes: 0 additions & 124 deletions library/build.gradle

This file was deleted.