File tree Expand file tree Collapse file tree 7 files changed +24
-7
lines changed
java/com/simform/ssloadingbuttonlibrary Expand file tree Collapse file tree 7 files changed +24
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1+ jdk :
2+ - openjdk11
Original file line number Diff line number Diff 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}
99rootProject. name = " SSLoadingButtonAndroid"
Original file line number Diff line number Diff 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+
721android {
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 {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <manifest package =" com.example.myapplication " >
2+ <manifest package =" com.simform.ssloadingbuttonlibrary " >
33
44</manifest >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import androidx.compose.ui.graphics.graphicsLayer
1111import androidx.compose.ui.res.painterResource
1212import androidx.compose.ui.unit.Dp
1313import androidx.compose.ui.unit.dp
14- import com.example.myapplication .R
14+ import com.simform.ssloadingbuttonlibrary .R
1515import com.simform.ssloadingbuttonlibrary.utils.ten
1616import com.simform.ssloadingbuttonlibrary.utils.three
1717import com.simform.ssloadingbuttonlibrary.utils.threeSixtyFloat
You can’t perform that action at this time.
0 commit comments