Skip to content

Commit 03d4890

Browse files
Merge pull request #14 from SimformSolutionsPvtLtd/feature/library_setup
🐛 UNT-T5677 library support missing components added.
2 parents 0483a1e + 8bdd0ad commit 03d4890

File tree

7 files changed

+24
-7
lines changed

7 files changed

+24
-7
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ android {
3131
targetCompatibility JavaVersion.VERSION_11
3232
}
3333
kotlinOptions {
34-
jvmTarget = '1.8'
34+
jvmTarget = '11'
3535
useIR = true
3636
}
3737
buildFeatures {
3838
compose true
3939
}
4040
composeOptions {
4141
kotlinCompilerExtensionVersion compose_version
42-
kotlinCompilerVersion '1.5.10'
42+
kotlinCompilerVersion kotlin_version
4343
}
4444
}
4545

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ buildscript {
88
mavenCentral()
99
}
1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:4.2.2'
11+
classpath 'com.android.tools.build:gradle:7.1.0-alpha03'
1212
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10'
13+
classpath 'com.android.tools.lint:lint:27.2.2'
1314
}
1415
}
1516

jitpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jdk:
2+
- openjdk11

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dependencyResolutionManagement {
33
repositories {
44
google()
55
mavenCentral()
6-
jcenter() // Warning: this repository is going to shut down soon
6+
maven { url 'https://jitpack.io' }
77
}
88
}
99
rootProject.name = "SSLoadingButtonAndroid"

ssloadingbuttonlibrary/build.gradle

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ plugins {
44
id 'maven-publish'
55
}
66

7+
afterEvaluate {
8+
publishing {
9+
publications {
10+
// Creates a Maven publication called "release".
11+
release(MavenPublication) {
12+
from components.release
13+
groupId = 'com.simform.ssloadingbuttonlibrary'
14+
artifactId = 'ssloadingbuttonlibrary'
15+
version = '1.0.0'
16+
}
17+
}
18+
}
19+
}
20+
721
android {
822
compileSdk 30
923
buildToolsVersion "30.0.3"
@@ -31,8 +45,8 @@ android {
3145
}
3246

3347
kotlinOptions {
34-
jvmTarget = '1.8'
3548
useIR = true
49+
jvmTarget = '11'
3650
}
3751

3852
buildFeatures {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest package="com.example.myapplication">
2+
<manifest package="com.simform.ssloadingbuttonlibrary">
33

44
</manifest>

ssloadingbuttonlibrary/src/main/java/com/simform/ssloadingbuttonlibrary/PrintLoadingBar.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import androidx.compose.ui.graphics.graphicsLayer
1111
import androidx.compose.ui.res.painterResource
1212
import androidx.compose.ui.unit.Dp
1313
import androidx.compose.ui.unit.dp
14-
import com.example.myapplication.R
14+
import com.simform.ssloadingbuttonlibrary.R
1515
import com.simform.ssloadingbuttonlibrary.utils.ten
1616
import com.simform.ssloadingbuttonlibrary.utils.three
1717
import com.simform.ssloadingbuttonlibrary.utils.threeSixtyFloat

0 commit comments

Comments
 (0)