Skip to content
Open

Jitpack #3235

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
8 changes: 8 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
jdk:
- openjdk17
install:
#Default - ./gradlew clean -Pgroup=com.github.p1gp1g -Pversion=s1mpatch2-test_jitpack-c2e1c6ddbe-1 -xtest -xlint assemble publishToMavenLocal
- sed -i '/withJavadocJar/d' gradle/publish-android.gradle
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to disable javadocs?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC it failed because of a timeout with javadocs

- ./gradlew clean -Pgroup=$GROUP -Pversion=$VERSION -xtest -xlint publishToMavenLocal
env:
GRADLE_MICROG_VERSION_WITHOUT_GIT: 1
51 changes: 39 additions & 12 deletions play-services-core-proto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,44 @@
*/

apply plugin: 'com.squareup.wire'
apply plugin: 'kotlin'
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'maven-publish'
apply plugin: 'signing'
android {
namespace "org.microg.gms.core.proto"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

defaultConfig {
versionName version
minSdkVersion androidMinSdk
targetSdkVersion androidTargetSdk
}

buildFeatures {
dataBinding = true
buildConfig = true
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}

kotlinOptions {
jvmTarget = 1.8
}

lintOptions {
disable 'MissingTranslation'
}
}
dependencies {
implementation "com.squareup.wire:wire-runtime:$wireVersion"
api "com.squareup.wire:wire-grpc-client:$wireVersion"
Expand All @@ -21,15 +57,6 @@ sourceSets {
main.java.srcDirs += "$buildDir/generated/source/wire"
}

compileJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}

compileKotlin {
kotlinOptions.jvmTarget = 1.8
}
apply from: '../gradle/publish-android.gradle'

compileTestKotlin {
kotlinOptions.jvmTarget = 1.8
}
description = 'microG service implementation for play-services-core-proto'