diff --git a/.repo/bk-demo.gif b/.repo/bk-demo.gif index 83e65df..0c9d04b 100644 Binary files a/.repo/bk-demo.gif and b/.repo/bk-demo.gif differ diff --git a/.repo/bk-gh-readme-header.svg b/.repo/bk-gh-readme-header.svg index 559cd57..bb2c872 100644 --- a/.repo/bk-gh-readme-header.svg +++ b/.repo/bk-gh-readme-header.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/.repo/bk-gh-readme-spectrum-button.svg b/.repo/bk-gh-readme-spectrum-button.svg index 2a6d277..84ab324 100644 --- a/.repo/bk-gh-readme-spectrum-button.svg +++ b/.repo/bk-gh-readme-spectrum-button.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/README.md b/README.md index 08c41b9..13954d1 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ This results in an average work/frame time of 2-4ms, which will be a seamless ex Add __BlurKit__ to the dependencies block of the app level `build.gradle`: ```groovy dependencies { - implementation 'io.alterac.blurkit:blurkit:1.1.0' + implementation 'com.github.rtsketo:blurkit-android:1.1.1' } ``` diff --git a/blurkit/build.gradle b/blurkit/build.gradle index bacd08f..c066002 100644 --- a/blurkit/build.gradle +++ b/blurkit/build.gradle @@ -1,23 +1,21 @@ plugins { id 'com.android.library' - id 'com.github.dcendents.android-maven' version '1.5' + id 'maven-publish' } ext { PUBLISH_GROUP_ID = 'io.alterac.blurkit' PUBLISH_ARTIFACT_ID = 'blurkit' - PUBLISH_VERSION = '1.1.0' + PUBLISH_VERSION = '1.1.1' } android { compileSdkVersion versions.compileSdk - buildToolsVersion '28.0.3' + namespace "io.alterac.blurkit" defaultConfig { minSdkVersion versions.minSdk targetSdkVersion versions.targetSdk - versionCode 1 - versionName "1.1.0" renderscriptTargetApi 28 renderscriptSupportModeEnabled true testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner' @@ -25,6 +23,11 @@ android { testOptions { unitTests.returnDefaultValues = true } + + publishing { + singleVariant("release") { } + } + buildTypes { release { minifyEnabled false @@ -34,23 +37,24 @@ android { } dependencies { - testImplementation 'junit:junit:4.12' - testImplementation 'org.mockito:mockito-core:1.10.19' + testImplementation 'junit:junit:4.13.2' + testImplementation 'org.mockito:mockito-core:5.18.0' androidTestImplementation 'com.android.support:support-annotations:28.0.0' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test:rules:1.0.2' - androidTestImplementation 'org.hamcrest:hamcrest-library:1.3' + androidTestImplementation 'org.hamcrest:hamcrest-library:3.0' } -install { - repositories.mavenInstaller { - pom.project { - groupId project.group - artifactId 'blurkit' - packaging 'aar' +afterEvaluate { + publishing { + publications { + create('release', MavenPublication) { + groupId = PUBLISH_GROUP_ID + artifactId = PUBLISH_ARTIFACT_ID + version = PUBLISH_VERSION + from components.release + } } } } - -apply from : 'deploy.gradle' diff --git a/build.gradle b/build.gradle index dbaa7da..b15878a 100644 --- a/build.gradle +++ b/build.gradle @@ -2,12 +2,14 @@ buildscript { repositories { - jcenter() google() + mavenCentral() + gradlePluginPortal() + maven { url "https://repo.grails.org/grails/core/" } } dependencies { - classpath 'com.android.tools.build:gradle:3.3.0' - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.1' + classpath 'com.android.tools.build:gradle:8.12.0' + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5' } } @@ -17,7 +19,9 @@ allprojects { project -> repositories { google() - jcenter() + mavenCentral() + gradlePluginPortal() + maven { url "https://repo.grails.org/grails/core/" } } ext { diff --git a/demo/build.gradle b/demo/build.gradle index 1703cdf..28124ca 100644 --- a/demo/build.gradle +++ b/demo/build.gradle @@ -1,12 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 28 - buildToolsVersion '28.0.3' + namespace "io.alterac.blurkit.demo" + compileSdkVersion 33 + defaultConfig { applicationId "io.alterac.blurkit.demo" minSdkVersion 21 - targetSdkVersion 28 + targetSdkVersion 33 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" diff --git a/demo/src/main/AndroidManifest.xml b/demo/src/main/AndroidManifest.xml index b755e9a..f6ccc2b 100644 --- a/demo/src/main/AndroidManifest.xml +++ b/demo/src/main/AndroidManifest.xml @@ -10,6 +10,7 @@ android:theme="@style/AppTheme"> diff --git a/demo/src/main/ic_launcher-web.png b/demo/src/main/ic_launcher-web.png index 90f2e15..944a624 100644 Binary files a/demo/src/main/ic_launcher-web.png and b/demo/src/main/ic_launcher-web.png differ diff --git a/demo/src/main/res/mipmap-hdpi/ic_launcher.png b/demo/src/main/res/mipmap-hdpi/ic_launcher.png index 96f9f4b..fb7f033 100644 Binary files a/demo/src/main/res/mipmap-hdpi/ic_launcher.png and b/demo/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/demo/src/main/res/mipmap-xhdpi/ic_launcher.png b/demo/src/main/res/mipmap-xhdpi/ic_launcher.png index 3809e69..d1c2d59 100644 Binary files a/demo/src/main/res/mipmap-xhdpi/ic_launcher.png and b/demo/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/demo/src/main/res/mipmap-xxhdpi/ic_launcher.png b/demo/src/main/res/mipmap-xxhdpi/ic_launcher.png index b7a5622..aded689 100644 Binary files a/demo/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/demo/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/demo/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/demo/src/main/res/mipmap-xxxhdpi/ic_launcher.png index 63c1113..a31178a 100644 Binary files a/demo/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/demo/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a80a2f9..5d10c1d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon Jan 21 14:18:36 EST 2019 +#Thu Aug 07 15:23:04 EEST 2025 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 0000000..1e41e00 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,2 @@ +jdk: + - openjdk17 \ No newline at end of file