Skip to content
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
8 changes: 8 additions & 0 deletions .github/workflows/Android-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
- uses: gradle/actions/wrapper-validation@v5
- name: Install Android SDK
uses: hannesa2/action-android/[email protected]
- name: Build project
run: ./gradlew assembleDebug
- name: Deploy test (Don't merge)
run: ./gradlew publishMavenPublicationToMavenRepository
- name: Run tests
run: ./gradlew test
- name: Test jitpack publish command
run: ./gradlew :MPChartLib:publishToMavenLocal
- name: Run instrumentation tests
uses: hannesa2/action-android/[email protected]
with:
Expand Down
10 changes: 6 additions & 4 deletions MPChartLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ plugins {
id "com.vanniktech.maven.publish" version "0.34.0"
}

apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'

ext {
mGroupId = "info.appdevnext"
mArtifactId = "chart"
Expand Down Expand Up @@ -51,10 +53,10 @@ dependencies {
testImplementation "junit:junit:4.13.2"
}

tasks.register("androidSourcesJar", Jar) {
archiveClassifier.set("sources")
from android.sourceSets.main.java.srcDirs
}
//tasks.register("androidSourcesJar", Jar) {
// archiveClassifier.set("sources")
// from android.sourceSets.main.java.srcDirs
//}

group = "info.mxtracks"
version = "${getTag()}"
Expand Down
3 changes: 3 additions & 0 deletions MPChartLib/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
POM_NAME=Andorid Chart
POM_ARTIFACT_ID=library
POM_PACKAGING=aar
16 changes: 16 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,19 @@ RELEASE_SIGNING_ENABLED=true
POM_ARTIFACT_ID=chart
android.nonTransitiveRClass=false
android.nonFinalResIds=false

# TODO use right, and currently unknown, credentials
VERSION_NAME=0.9.2-SNAPSHOT
VERSION_CODE=92
GROUP=info.mxtracks

POM_DESCRIPTION=A powerful Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, dragging and animations.
POM_URL=https://github.com/AppDevNext/AndroidChart
POM_SCM_URL=https://github.com/AppDevNext/AndroidChart
POM_SCM_CONNECTION=scm:[email protected]:AppDevNext/AndroidChart.git
POM_SCM_DEV_CONNECTION=scm:[email protected]:AppDevNext/AndroidChart.git
POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=hannesa2
POM_DEVELOPER_NAME=Hannes A
Loading