-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgradle.properties
More file actions
62 lines (58 loc) · 3.54 KB
/
Copy pathgradle.properties
File metadata and controls
62 lines (58 loc) · 3.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
# org.gradle.parallel=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
android.useAndroidX=true
# Maven coordinates (used by :datapoint-sdk publishing)
sdk.groupId=com.trydatapoint
sdk.artifactId=sdk
sdk.version=1.0.1
# POM metadata for Maven Central / custom repos — set sdk.pomScmUrl to your public repo before Central release
sdk.pomName=DataPoint Android SDK
sdk.pomDescription=Monetize your app with micro-tasks via the DataPoint Android SDK.
sdk.pomUrl=https://trydatapoint.com
sdk.pomLicenseName=Apache License 2.0
sdk.pomLicenseUrl=https://www.apache.org/licenses/LICENSE-2.0
sdk.pomDeveloperId=trydatapoint
sdk.pomDeveloperName=DataPoint
# SCM metadata (required for Maven Central)
sdk.pomScmUrl=https://github.com/trydatapoint/datapoint-android-sdk
sdk.pomScmConnection=scm:git:git://github.com/trydatapoint/datapoint-android-sdk.git
sdk.pomScmDevConnection=scm:git:ssh://github.com:trydatapoint/datapoint-android-sdk.git
# Maven Central — OSSRH Staging API (Central Portal compatibility). Do not use legacy s01.oss.sonatype.org; see:
# https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/
# Username/password: Central Portal user token (https://central.sonatype.com/usertoken) in local.properties
maven.releases.url=https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/
# Namespace from https://central.sonatype.com/publishing/namespaces (defaults to sdk.groupId if unset)
# maven.central.namespace=com.trydatapoint
# After maven-publish PUT uploads, Sonatype requires a Portal handoff — set true to skip that POST (not recommended)
# maven.central.skipFinalizePortalUpload=false
# user_managed | automatic | portal_api — see OSSRH Staging API docs
# maven.central.publishingType=user_managed
# maven.releases.username=YOUR_SONATYPE_USERNAME
# maven.releases.password=YOUR_SONATYPE_TOKEN
# GPG signing + Sonatype deploy — NEVER put real values in this committed file.
# For :datapoint-sdk, root local.properties wins for signing.* over ~/.gradle/gradle.properties (so your repo key matches what you edit locally).
# signing.enabled=true — required to attach PGP signatures (Maven Central). Omit or false for unsigned local installs (publishToMavenLocal).
# In local.properties at the repo root (same file as sdk.dir), you may set:
# signing.keyId=8HEX_OR_16HEX_KEY_ID
# signing.password=***
# Option A — armored key, one line with escaped newlines:
# signing.key=-----BEGIN PGP PRIVATE KEY BLOCK-----\\n...\\n-----END PGP PRIVATE KEY BLOCK-----
# Option B — armored key as Base64 one-liner (decoded in datapoint-sdk/build.gradle.kts):
# signing.secretKey=BASE64_ONE_LINE
# Option C — keyring path (absolute, or relative to repo root):
# signing.secretKeyRingFile=/absolute/path/to/secring.gpg
# maven.releases.username=YOUR_SONATYPE_USERNAME
# maven.releases.password=YOUR_SONATYPE_TOKEN