Skip to content

Commit

Permalink
Change Package name
Browse files Browse the repository at this point in the history
ir.farshidroohi.linechart to  io.github.farshidroohi
  • Loading branch information
FarshidRoohi committed Aug 19, 2021
1 parent cb0bded commit c8fa4bd
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 45 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.0'
classpath 'com.android.tools.build:gradle:7.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.vanniktech:gradle-maven-publish-plugin:0.17.0"
}
Expand Down
3 changes: 3 additions & 0 deletions linegraph/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ publishing {
def snapshotsRepoUrl = "$buildDir/repos/snapshots"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
}
mavenPublish {
sonatypeHost = "S01"
}
}


Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion linegraph/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ir.farshid_roohi.linegraph" />
package="io.github.farshidroohi" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ir.farshid_roohi.linegraph
package io.github.farshidroohi

/**
* Created by Farshid Roohi.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ir.farshid_roohi.linegraph
package io.github.farshidroohi

import android.annotation.SuppressLint
import android.content.Context
Expand All @@ -8,8 +8,8 @@ import android.util.Log
import android.view.MotionEvent
import android.view.View
import androidx.core.content.ContextCompat
import ir.farshid_roohi.utilites.GraphCanvasWrapper
import ir.farshid_roohi.utilites.GraphPath
import io.github.utilites.GraphCanvasWrapper
import io.github.utilites.GraphPath
import java.util.*
import kotlin.math.abs

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ir.farshid_roohi.utilites
package io.github.utilites

import android.graphics.Bitmap
import android.graphics.Canvas
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ir.farshid_roohi.utilites
package io.github.utilites

import android.graphics.Path
import android.graphics.PointF
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ir.farshid_roohi.utilites
package io.github.utilites

import android.graphics.Bitmap

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ir.farshid_roohi.graph
package io.github.graph

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand Down
4 changes: 2 additions & 2 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ir.farshid_roohi.graph">
package="io.github.graph">

<application
android:allowBackup="true"
Expand All @@ -9,7 +9,7 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<activity android:name="io.github.graph.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package ir.farshid_roohi.graph
package io.github.graph

import android.graphics.Color
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import ir.farshid_roohi.linegraph.ChartEntity
import ir.farshid_roohi.linegraph.LineChart
import io.github.farshidroohi.ChartEntity
import io.github.farshidroohi.LineChart

class MainActivity : AppCompatActivity() {

Expand Down
11 changes: 5 additions & 6 deletions sample/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,18 @@
app:cardBackgroundColor="#FF2B4A83"
app:cardCornerRadius="5dp">

<ir.farshid_roohi.linegraph.LineChart
<io.github.farshidroohi.LineChart
android:id="@+id/lineChart"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
app:chart_bg_color="#FF2B4A83"
app:chart_line_color="#32FFFFFF"
app:chart_line_size="4dp"
app:chart_padding_bottom="20dp"
app:chart_padding_left="20dp"
app:chart_padding_right="20dp"
app:chart_padding_top="20dp"
app:chart_line_color="#32FFFFFF"
app:chart_bg_color="#FF2B4A83"
app:chart_line_size="4dp"
/>
app:chart_padding_top="20dp" />

</androidx.cardview.widget.CardView>

Expand Down

0 comments on commit c8fa4bd

Please sign in to comment.