Skip to content

Commit

Permalink
Merge pull request #107 from wasabeef/mc
Browse files Browse the repository at this point in the history
chore: add settings for maven central
  • Loading branch information
wasabeef committed Feb 14, 2021
2 parents b06c01a + f9b8892 commit 7b4713d
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 9 deletions.
1 change: 1 addition & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Blurry-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/2192)
[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Download](https://api.bintray.com/packages/wasabeef/maven/blurry/images/download.svg)](https://bintray.com/wasabeef/maven/blurry/_latestVersion)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/jp.wasabeef/blurry/badge.svg)](https://search.maven.org/artifact/jp.wasabeef/blurry)

`Blurry` is an easy blur library for `Android`.

Expand All @@ -18,8 +18,12 @@ How do I use it?

##### Dependencies
```groovy
repositories {
mavenCentral()
}
dependencies {
compile 'jp.wasabeef:blurry:4.x.x'
compile 'jp.wasabeef:blurry:4.0.0'
}
```

Expand Down
7 changes: 5 additions & 2 deletions blurry/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ ext {
allLicenses = ["Apache-2.0"]
}

apply from: 'https://gist.githubusercontent.com/wasabeef/cf14805bee509baf7461974582f17d26/raw/bintray-v1.gradle'
apply from: 'https://gist.githubusercontent.com/wasabeef/cf14805bee509baf7461974582f17d26/raw/install-v1.gradle'
// TODO: Close JCenter on May 1st https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
// apply from: 'https://gist.githubusercontent.com/wasabeef/cf14805bee509baf7461974582f17d26/raw/bintray-v1.gradle'
// apply from: 'https://gist.githubusercontent.com/wasabeef/cf14805bee509baf7461974582f17d26/raw/install-v1.gradle'

apply from: 'https://gist.githubusercontent.com/wasabeef/2f2ae8d97b429e7d967128125dc47854/raw/maven-central-v1.gradle'
9 changes: 6 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,19 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0-alpha12'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.android.tools.build:gradle:4.2.0-beta04'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// TODO: Close JCenter on May 1st https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
// classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'
// classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}

allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}
4 changes: 4 additions & 0 deletions example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ android {
}
}

repositories {
// maven { url = "https://oss.sonatype.org/content/repositories/snapshots"}
}

dependencies {
implementation project(':blurry')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android.enableJetifier=false
android.enableR8.fullMode=true

VERSION_NAME=4.0.0
VERSION_CODE=310
VERSION_CODE=400

COMPILE_SDK_VERSION=30
TARGET_SDK_VERSION=30
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip
distributionUrl=https://services.gradle.org/distributions/gradle-6.7.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 7b4713d

Please sign in to comment.