Skip to content

Commit

Permalink
Arctic Fox (#148)
Browse files Browse the repository at this point in the history
* Arctic Fox

* Jitpack.io for Arctic Fox
  • Loading branch information
hannesa2 authored Oct 28, 2021
1 parent c876b73 commit 168f953
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.android.tools.build:gradle:7.0.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
Expand Down
4 changes: 4 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
jdk:
- openjdk11
install:
- ./gradlew :mjpeg-view:build :mjpeg-view:publishToMavenLocal -x :mjpeg-view:test
16 changes: 14 additions & 2 deletions mjpeg-view/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
apply plugin: 'com.android.library'
plugins {
id 'com.android.library'
id 'maven-publish'
}

android {
compileSdkVersion 30

defaultConfig {
minSdkVersion 16
targetSdkVersion 30
versionName getTag()
}

buildTypes {
Expand Down Expand Up @@ -53,3 +55,13 @@ task hello(dependsOn: build) {
println ':see https://github.com/niqdev/ipcam-view\n'
println '*--~> [' + project.group + ':' + rootProject.name + ':' + project.version + '] <~--*\n'
}

project.afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
}
}
}
}

0 comments on commit 168f953

Please sign in to comment.