Skip to content

Commit

Permalink
1.Set version to 1.0.8
Browse files Browse the repository at this point in the history
2.Update maven publish code
  • Loading branch information
shiyinghan committed Jan 10, 2025
1 parent 180187d commit 6728c33
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
}
dependencies {
implementation 'com.herohan:UVCAndroid:1.0.7'
implementation 'com.herohan:UVCAndroid:1.0.8'
}
```
R8 / ProGuard
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies {
debugImplementation 'jp.wasabeef:takt:2.1.1'

implementation project(':libuvccamera')
// implementation 'com.herohan:UVCAndroid:1.0.7'
// implementation 'com.herohan:UVCAndroid:1.0.8'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.3.0'

Expand Down
2 changes: 1 addition & 1 deletion demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies {
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'

implementation project(':libuvccamera')
// implementation 'com.herohan:UVCAndroid:1.0.7'
// implementation 'com.herohan:UVCAndroid:1.0.8'

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
Expand Down
4 changes: 2 additions & 2 deletions libuvccamera/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ dependencies {
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.annotation:annotation:1.8.0'
implementation 'cn.hutool:hutool-core:5.6.3'
implementation 'cn.hutool:hutool-core:5.8.35'
}

ext {
libraryVersion = '1.0.7'
libraryVersion = '1.0.8'
publishedGroupId = 'com.herohan'
artifact = 'UVCAndroid'
libraryDescription = 'Library and sample to access UVC camera on non-rooted Android device'
Expand Down
12 changes: 6 additions & 6 deletions publish_aar.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ def sonatypePassword = rootProject.hasProperty('ossrhPassword')? rootProject.oss
group = publishedGroupId
version = libraryVersion

task sourcesJar(type: Jar) {
archiveClassifier.set("sources")
from android.sourceSets.main.java.srcDirs
}
//task sourcesJar(type: Jar) {
// archiveClassifier.set("sources")
// from android.sourceSets.main.java.srcDirs
//}

//task javadoc(type: Javadoc) {
// options.addStringOption('Xdoclint:none', '-quiet')
Expand All @@ -25,7 +25,7 @@ task sourcesJar(type: Jar) {

android {
publishing {
singleVariant("release") {
singleVariant('release') {
withSourcesJar()
withJavadocJar()
}
Expand All @@ -39,7 +39,7 @@ afterEvaluate {
artifactId = artifact
from components.release
// artifact javadocJar
artifact sourcesJar
// artifact sourcesJar
pom {
name = artifact
description = libraryDescription
Expand Down

0 comments on commit 6728c33

Please sign in to comment.