Skip to content

Commit

Permalink
chore: Bump version in order to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin7b authored Sep 14, 2022
2 parents ff573b5 + 3a29d3e commit 71a018f
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

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

4 changes: 2 additions & 2 deletions .idea/gradle.xml

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

2 changes: 1 addition & 1 deletion .idea/misc.xml

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

13 changes: 0 additions & 13 deletions .idea/runConfigurations.xml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Koin Timber Logger
===

![Version 2.0.0](https://img.shields.io/badge/version-2.0.0-green.svg) ![Hosted on Jitpack.io](https://img.shields.io/badge/hosting-jitpack-blue.svg)
![Version 3.0.0](https://img.shields.io/badge/version-3.0.0-green.svg) ![Hosted on Jitpack.io](https://img.shields.io/badge/hosting-jitpack-blue.svg)

_TL;DR A simple logger for [Koin](https://insert-koin.io/) that uses [Timber](https://github.com/JakeWharton/timber)_

Expand Down Expand Up @@ -89,7 +89,7 @@ In the *module* `build.gradle`

```gradle
dependencies {
implementation 'com.github.quentin7b:koin-timber-logger:2.0.0'
implementation 'com.github.quentin7b:koin-timber-logger:3.0.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'

Expand Down
4 changes: 2 additions & 2 deletions example/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
package="com.github.quentin7b.kointimber">

<application
android:allowBackup="true"
android:label="@string/app_name"
android:name=".ExampleApp"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".ExampleActivity">
<activity android:name=".ExampleActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import android.os.Bundle
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.AppCompatTextView
import io.insert-koin.android.ext.android.inject
import org.koin.android.ext.android.inject


class ExampleActivity : AppCompatActivity() {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package com.github.quentin7b.kointimber

import android.app.Application
import io.insert-koin.android.ext.koin.androidContext
import io.insert-koin.core.context.startKoin
import io.insert-koin.dsl.module
import org.koin.android.ext.koin.androidContext
import org.koin.core.context.GlobalContext.startKoin
import org.koin.dsl.module

import timber.log.Timber

class ExampleApp : Application() {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Sep 13 12:43:02 CEST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
26 changes: 22 additions & 4 deletions kointimber/build.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'com.github.dcendents.android-maven'
id 'maven-publish'
}

group = 'com.github.quentin7b'
def mavenGroupId = 'com.github.quentin7b'
def mavenVersion = '3.0'


group = mavenGroupId
version = mavenVersion

android {
compileSdkVersion 33

defaultConfig {
minSdkVersion 14
targetSdkVersion 33
versionCode 3
versionName "2.0.0"

}

buildTypes {
Expand All @@ -30,3 +34,17 @@ dependencies {
implementation "io.insert-koin:koin-android:$koin_version"
implementation "com.jakewharton.timber:timber:$timber_version"
}

afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
from components.release
groupId = mavenGroupId
artifactId = 'koin-timber-logger'
version = mavenVersion
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.github.quentin7b.kointimber

import io.insert-koin.core.logger.Level
import io.insert-koin.core.logger.Logger
import io.insert-koin.core.logger.MESSAGE
import org.koin.core.logger.Level
import org.koin.core.logger.Logger
import org.koin.core.logger.MESSAGE
import timber.log.Timber

/**
Expand Down

0 comments on commit 71a018f

Please sign in to comment.