Skip to content

Library #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
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.

5 changes: 2 additions & 3 deletions .idea/gradle.xml

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

3 changes: 1 addition & 2 deletions .idea/misc.xml

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

12 changes: 9 additions & 3 deletions .idea/modules.xml

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

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

This file was deleted.

2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ android {
minSdkVersion 19
targetSdkVersion 33
versionCode 38
versionName "2.8.22"
versionName "2.8.23"
}
}

Expand Down
34 changes: 34 additions & 0 deletions cs108library4a/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'

android {
compileSdkVersion 33
Expand All @@ -19,6 +20,39 @@ android {
minifyEnabled false
}
}
lintOptions {
abortOnError false
absolutePaths false
}
}

def getVersionName = { ->
return "2.8.23"
}

def getArtifactId = { ->
return "sled_machine"
}



task sourceJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier "sources"
}

afterEvaluate{
publishing{
publications{
release(MavenPublication){
from components.release
groupId='com.csl.cs108library4a'
artifactId = getArtifactId()
version = getVersionName()
artifact(sourceJar)
}
}
}
}


Expand Down