mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-04 17:55:36 +08:00
publish termux-view and terminal-emulator on Github Packages
Moving from Bintray.
This commit is contained in:
@@ -1,20 +1,5 @@
|
||||
plugins {
|
||||
id "com.jfrog.bintray" version "1.8.5"
|
||||
id "com.github.dcendents.android-maven" version "2.1"
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
ext {
|
||||
bintrayName = 'terminal-view'
|
||||
publishedGroupId = 'com.termux'
|
||||
libraryName = 'TerminalView'
|
||||
artifact = 'terminal-view'
|
||||
libraryDescription = 'The terminal view used in Termux'
|
||||
siteUrl = 'https://github.com/termux/termux-app'
|
||||
gitUrl = 'https://github.com/termux/termux-app.git'
|
||||
libraryVersion = '0.106'
|
||||
}
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
android {
|
||||
compileSdkVersion project.properties.compileSdkVersion.toInteger()
|
||||
@@ -47,4 +32,25 @@ dependencies {
|
||||
testImplementation 'junit:junit:4.13.1'
|
||||
}
|
||||
|
||||
apply from: '../scripts/bintray-publish.gradle'
|
||||
publishing {
|
||||
publications {
|
||||
bar(MavenPublication) {
|
||||
groupId 'com.termux'
|
||||
artifactId 'terminal-view'
|
||||
version '0.106'
|
||||
artifact("$buildDir/outputs/aar/terminal-view-release.aar")
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
name = "GitHubPackages"
|
||||
url = uri("https://maven.pkg.github.com/termux/termux-app")
|
||||
|
||||
credentials {
|
||||
username = System.getenv("GH_USERNAME")
|
||||
password = System.getenv("GH_TOKEN")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user