diff --git a/terminal-emulator/build.gradle b/terminal-emulator/build.gradle index afc57e9f7e..298105c0ce 100644 --- a/terminal-emulator/build.gradle +++ b/terminal-emulator/build.gradle @@ -1,5 +1,4 @@ apply plugin: 'com.android.library' -apply plugin: 'maven-publish' android { compileSdkVersion project.properties.compileSdkVersion.toInteger() @@ -53,23 +52,3 @@ dependencies { implementation "androidx.annotation:annotation:1.3.0" testImplementation "junit:junit:4.13.2" } - -task sourceJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier "sources" -} - -afterEvaluate { - publishing { - publications { - // Creates a Maven publication called "release". - release(MavenPublication) { - from components.release - groupId = 'com.termux' - artifactId = 'terminal-emulator' - version = '0.118.0' - artifact(sourceJar) - } - } - } -} diff --git a/terminal-view/build.gradle b/terminal-view/build.gradle index d603da2880..20720d6a43 100644 --- a/terminal-view/build.gradle +++ b/terminal-view/build.gradle @@ -1,5 +1,4 @@ apply plugin: 'com.android.library' -apply plugin: 'maven-publish' android { compileSdkVersion project.properties.compileSdkVersion.toInteger() @@ -31,23 +30,3 @@ android { dependencies { testImplementation "junit:junit:4.13.2" } - -task sourceJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier "sources" -} - -afterEvaluate { - publishing { - publications { - // Creates a Maven publication called "release". - release(MavenPublication) { - from components.release - groupId = 'com.termux' - artifactId = 'terminal-view' - version = '0.118.0' - artifact(sourceJar) - } - } - } -} diff --git a/termux-shared/build.gradle b/termux-shared/build.gradle index 3710035e75..1d82159535 100644 --- a/termux-shared/build.gradle +++ b/termux-shared/build.gradle @@ -1,5 +1,4 @@ apply plugin: 'com.android.library' -apply plugin: 'maven-publish' android { compileSdkVersion project.properties.compileSdkVersion.toInteger() @@ -68,23 +67,3 @@ dependencies { androidTestImplementation "androidx.test.espresso:espresso-core:3.4.0" coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5" } - -task sourceJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier "sources" -} - -afterEvaluate { - publishing { - publications { - // Creates a Maven publication called "release". - release(MavenPublication) { - from components.release - groupId = 'com.termux' - artifactId = 'termux-shared' - version = '0.118.0' - artifact(sourceJar) - } - } - } -}