File tree Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 11//  Top-level build file where you can add configuration options common to all sub-projects/modules.
22buildscript  {
3-     ext. kotlin_version =  " 1.3.72 " 
3+     ext. kotlin_version =  " 1.4.30 " 
44    repositories {
55        google()
66        jcenter()
Original file line number Diff line number Diff line change 11plugins  {
22    id ' com.android.library' 
33    id ' kotlin-android' 
4+     id ' maven-publish' 
45}
56
67android  {
@@ -35,10 +36,23 @@ android {
3536dependencies  {
3637
3738    implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version  " 
38-     implementation ' androidx.core:core-ktx:1.2.0' 
39-     implementation ' androidx.appcompat:appcompat:1.1.0' 
40-     implementation ' com.google.android.material:material:1.1.0' 
41-     testImplementation ' junit:junit:4.+' 
42-     androidTestImplementation ' androidx.test.ext:junit:1.1.1' 
43-     androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0' 
39+     implementation ' androidx.core:core-ktx:1.3.2' 
40+     implementation ' com.github.stefanji:Android-Audio-Waveform-Generator:1.0.0' 
41+ }
42+ 
43+ afterEvaluate  {
44+     publishing {
45+         publications {
46+             //  Creates a Maven publication called "release".
47+             release(MavenPublication ) {
48+                 //  Applies the component for the release build variant.
49+                 from components. release
50+ 
51+                 //  You can then customize attributes of the publication as shown below.
52+                 groupId =  ' x.stefanji' 
53+                 artifactId =  ' audiowavegenerator' 
54+                 version =  ' 1.0.0' 
55+             }
56+         }
57+     }
4458}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments