Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved to jcenter -> jitpack #100

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

``` gradle
dependencies {
implementation 'com.github.ybq:Android-SpinKit:1.4.0'
implementation 'com.github.ybq:Android-SpinKit:1.4.1'
}
```

Expand Down
75 changes: 0 additions & 75 deletions README_zh-CN.md

This file was deleted.

8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.novoda:bintray-release:0.8.1'
classpath 'com.android.tools.build:gradle:8.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20"
}
}

allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
32 changes: 18 additions & 14 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'
apply plugin: 'maven-publish'

android {

compileSdkVersion 28
buildToolsVersion '28.0.3'
namespace 'com.github.ybq.android.spinkit'

compileSdkVersion 34

defaultConfig {
minSdkVersion 14
targetSdkVersion 28
minSdkVersion 23
targetSdkVersion 34
}

lintOptions {
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}


publish {
userOrg = 'ybq'
groupId = 'com.github.ybq'
artifactId = 'Android-SpinKit'
publishVersion = '1.4.0'
desc = 'Android loading animations'
website = 'https://github.com/ybq/Android-SpinKit'
licences = ['MIT']
publishing {
publications {
release(MavenPublication) {
groupId = 'com.github.ybq.android.spinkit'
artifactId = 'library'
version = '1.0'
}
}
}
12 changes: 8 additions & 4 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ apply plugin: 'com.android.application'

android {

compileSdkVersion 28
buildToolsVersion '28.0.3'
namespace 'com.github.ybq.android.loading'
compileSdkVersion 34

defaultConfig {
applicationId "com.github.ybq.android.spinkit"
minSdkVersion 14
targetSdkVersion 28
minSdkVersion 23
targetSdkVersion 34
versionCode 1
versionName "1.0"
}
Expand All @@ -19,6 +19,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}

dependencies {
Expand Down
1 change: 1 addition & 0 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
android:theme="@style/AppTheme">
<activity
android:name="com.github.ybq.android.loading.MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
Expand Down