Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit aaf85cd

Browse files
committed
update jar
1 parent 771ba70 commit aaf85cd

6 files changed

Lines changed: 33 additions & 9 deletions

File tree

.idea/jarRepositories.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 30
4+
compileSdkVersion 33
55
defaultConfig {
66
applicationId "aicare.net.cn.sdk.android.iweightlibrary"
77
minSdkVersion 19
8-
targetSdkVersion 30
8+
targetSdkVersion 33
99
versionCode 1
1010
versionName "1.0"
1111
}

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
android:roundIcon="@mipmap/ic_launcher_round"
1010
android:supportsRtl="true"
1111
android:theme="@style/AppTheme">
12-
<activity android:name=".MainActivity">
12+
<activity android:name=".MainActivity"
13+
android:exported="true">
1314
<intent-filter>
1415
<action android:name="android.intent.action.MAIN"/>
1516

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
buildscript {
44
repositories {
55
google()
6-
jcenter()
6+
mavenCentral()
77

88
}
99
dependencies {
1010
classpath 'com.android.tools.build:gradle:7.1.2'
11-
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
11+
// classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
1212
// NOTE: Do not place your application dependencies here; they belong
1313
// in the individual module build.gradle files
1414
}
@@ -17,7 +17,8 @@ buildscript {
1717
allprojects {
1818
repositories {
1919
google()
20-
jcenter()
20+
mavenCentral()
21+
maven { url 'https://jitpack.io' }
2122

2223
}
2324
}

gradle.properties

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# http://www.gradle.org/docs/current/userguide/build_environment.html
77
# Specifies the JVM arguments used for the daemon process.
88
# The setting is particularly useful for tweaking memory settings.
9-
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
9+
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
1010
# When configured, Gradle will run in incubating parallel mode.
1111
# This option should only be used with decoupled projects. More details, visit
1212
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
@@ -17,5 +17,3 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryErro
1717
android.useAndroidX=true
1818
# Automatically convert third-party libraries to use AndroidX
1919
android.enableJetifier=true
20-
android.suppressUnsupportedCompileSdk=33
21-
android.disableAutomaticComponentCreation=true

iweightlibrary/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,17 @@ dependencies {
3737
api files('libs/getmorefatdata.jar')
3838
api files('libs/iWeightLibrary.jar')
3939
}
40+
41+
42+
afterEvaluate {
43+
publishing {
44+
publications {
45+
release(MavenPublication) {
46+
from components.release
47+
groupId = 'com.github.elinkthings'
48+
artifactId = 'BodyFatScaleSDKRepositoryAndroid'
49+
version = "1.5.1"
50+
}
51+
}
52+
}
53+
}

0 commit comments

Comments
 (0)