File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55# http://www.gradle.org/docs/current/userguide/build_environment.html
66# Specifies the JVM arguments used for the daemon process.
77# The setting is particularly useful for tweaking memory settings.
8- org.gradle.jvmargs =-Xmx2048m -XX:MaxPermSize=1024m -XX:+HeapDumpOnOutOfMemoryError - Dfile.encoding=UTF-8
8+ org.gradle.jvmargs =-Xmx2048m -Dfile.encoding=UTF-8
99# When configured, Gradle will run in incubating parallel mode.
1010# This option should only be used with decoupled projects. More details, visit
1111# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
Original file line number Diff line number Diff line change 1+ jdk :
2+ - openjdk17
3+ install :
4+ - ./gradlew :library:publishReleasePublicationToMavenLocal
Original file line number Diff line number Diff line change 1- apply plugin : ' com.android.library'
1+ plugins {
2+ id ' com.android.library'
3+ id ' kotlin-android'
4+ id ' maven-publish'
5+ id ' signing'
6+ }
27
38android {
49 compileSdk COMPILE_SDK_VERSION as int
6267
6368// apply from: 'https://gist.githubusercontent.com/wasabeef/2f2ae8d97b429e7d967128125dc47854/raw/maven-central-v1.gradle'
6469
65- apply plugin : ' maven-publish'
66- apply plugin : ' signing'
67-
6870def sonatypeUsername = rootProject. hasProperty(' sonatypeUsername' )? rootProject. sonatypeUsername : ' '
6971def sonatypePassword = rootProject. hasProperty(' sonatypePassword' )? rootProject. sonatypePassword : ' '
7072
@@ -104,6 +106,7 @@ afterEvaluate {
104106 }
105107 }
106108 repositories {
109+ mavenLocal()
107110 maven {
108111 def releasesRepoUrl = " https://oss.sonatype.org/service/local/staging/deploy/maven2"
109112 def snapshotsRepoUrl = " https://oss.sonatype.org/content/repositories/snapshots"
You can’t perform that action at this time.
0 commit comments