Closed MohammedAbidNafi closed 2 years ago
@MohammedAbidNafi
Please check and following below steps.
1.Update gradle plugin version to the latest in build.gradle file -of the project root in the dependencies section as below.
dependencies { classpath "com.android.tools.build:gradle:7.0.2" }
2.Add jitpack.io repository to build.gradle file of the root as well as the library module of the project as below.
repositories { google() mavenCentral() maven { url "https://jitpack.io" } }
3.Add plugin maven-publish in the build.gradle file of the module as below along with library plugin.
plugins { id 'com.android.library' id 'maven-publish' }
4.Added jitpack.yml in the root of the project for JAVA 11 support. Create a file with name as 'jitpack.yml' with the following content
jdk: -openjdk11
5.Changed java version to 11 in build.gradle file of the app module and library module inside android {} as below. New gradle plugin builds on java 11.
compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 }
6.Added maven publication settings as below in the build.gradle of module.
afterEvaluate { publishing { publications { // Creates a Maven publication called "release". release(MavenPublication) { from components.release groupId = 'com.github.Vipinbalakrishnan' artifactId = 'ribbonlayout' version = '1.1' } } } }
Note:- Sixth step is necessary.
Thank you will try this and let you know
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
https://jitpack.io/com/github/MohammedAbidNafi/iOS-Dialog/1.9.5/build.log
Thank you!